feat: simple styling + mini-help

This commit is contained in:
2025-09-19 07:35:27 +02:00
parent 6e28162030
commit 85b5984a83
4 changed files with 51 additions and 4 deletions

View File

@@ -2,6 +2,52 @@
-- │ Usage help │
-- ╰────────────╯
return {
{
"nvim-mini/mini.clue",
opts = {
triggers = {
-- Leader triggers
{ mode = 'n', keys = '<Leader>' },
{ mode = 'x', keys = '<Leader>' },
-- Built-in completion
{ mode = 'i', keys = '<C-x>' },
-- `g` key
{ mode = 'n', keys = 'g' },
{ mode = 'x', keys = 'g' },
-- Marks
{ mode = 'n', keys = "'" },
{ mode = 'n', keys = '`' },
{ mode = 'x', keys = "'" },
{ mode = 'x', keys = '`' },
-- Registers
{ mode = 'n', keys = '"' },
{ mode = 'x', keys = '"' },
{ mode = 'i', keys = '<C-r>' },
{ mode = 'c', keys = '<C-r>' },
-- Window commands
{ mode = 'n', keys = '<C-w>' },
-- `z` key
{ mode = 'n', keys = 'z' },
{ mode = 'x', keys = 'z' },
},
clues = {
-- Enhance this by adding descriptions for <Leader> mapping groups
-- miniclue.gen_clues.builtin_completion(),
-- miniclue.gen_clues.g(),
-- miniclue.gen_clues.marks(),
-- miniclue.gen_clues.registers(),
-- miniclue.gen_clues.windows(),
-- miniclue.gen_clues.z(),
},
}
},
-- Breaks LSP attach
-- {
-- "folke/which-key.nvim",

View File

@@ -31,7 +31,7 @@ local config = {
show_tab_indicators = true,
duplicates_across_groups = true, -- whether to consider duplicate paths in different groups as duplicates
persist_buffer_sort = true, -- whether or not custom sorted buffers should persist
separator_style = { "", "" }, -- "slant" | "slope" | "thick" | "thin" | { 'any', 'any' },
separator_style = { "", "" }, -- { "▏", "" } | "slant" | "slope" | "thick" | "thin" | { 'any', 'any' },
-- always_show_bufferline = false,
auto_toggle_bufferline = true,
show_close_icon = true,
@@ -45,7 +45,7 @@ local config = {
filetype = "neo-tree",
text = "",
highlight = "Directory",
separator = "·", -- use a "true" to enable the default, or set your own character
separator = "", -- use a "true" to enable the default, or set your own character
},
},
groups = {