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

@@ -9,7 +9,7 @@ require("config")
-- ╭─────────╮ -- ╭─────────╮
-- │ Generic │ -- │ Generic │
-- ╰─────────╯ -- ╰─────────╯
vim.cmd("set rnu") vim.cmd("set nu rnu")
vim.cmd("set textwidth=0") vim.cmd("set textwidth=0")
vim.cmd("set wrapmargin=0") vim.cmd("set wrapmargin=0")
vim.cmd("set linebreak") vim.cmd("set linebreak")
@@ -37,7 +37,7 @@ vim.cmd("set clipboard=unnamedplus")
-- ╰───────╯ -- ╰───────╯
vim.opt.fillchars = { vim.opt.fillchars = {
horiz = "", horiz = "",
vert = "·", vert = " ",
stl = " ", stl = " ",
eob = " ", eob = " ",
} }

View File

@@ -10,6 +10,7 @@
"indent-blankline.nvim": { "branch": "master", "commit": "e10626f7fcd51ccd56d7ffc00883ba7e0aa28f78" }, "indent-blankline.nvim": { "branch": "master", "commit": "e10626f7fcd51ccd56d7ffc00883ba7e0aa28f78" },
"lazy.nvim": { "branch": "main", "commit": "7e6c863bc7563efbdd757a310d17ebc95166cef3" }, "lazy.nvim": { "branch": "main", "commit": "7e6c863bc7563efbdd757a310d17ebc95166cef3" },
"lualine.nvim": { "branch": "master", "commit": "2a5bae925481f999263d6f5ed8361baef8df4f83" }, "lualine.nvim": { "branch": "master", "commit": "2a5bae925481f999263d6f5ed8361baef8df4f83" },
"mini.clue": { "branch": "main", "commit": "2d361459de6a5fd7ea20a14ee4b95c6caec383b9" },
"mini.icons": { "branch": "main", "commit": "910db5df9724d65371182948f921fce23c2c881e" }, "mini.icons": { "branch": "main", "commit": "910db5df9724d65371182948f921fce23c2c881e" },
"monkey-alert": { "branch": "main", "commit": "213a39f8161f80ce43e1a164a54fe796432422b8" }, "monkey-alert": { "branch": "main", "commit": "213a39f8161f80ce43e1a164a54fe796432422b8" },
"neo-tree.nvim": { "branch": "main", "commit": "521bb4253b1adc2a1ff6c584bc839eba9bc99c0b" }, "neo-tree.nvim": { "branch": "main", "commit": "521bb4253b1adc2a1ff6c584bc839eba9bc99c0b" },

View File

@@ -2,6 +2,52 @@
-- │ Usage help │ -- │ Usage help │
-- ╰────────────╯ -- ╰────────────╯
return { 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 -- Breaks LSP attach
-- { -- {
-- "folke/which-key.nvim", -- "folke/which-key.nvim",

View File

@@ -31,7 +31,7 @@ local config = {
show_tab_indicators = true, show_tab_indicators = true,
duplicates_across_groups = true, -- whether to consider duplicate paths in different groups as duplicates 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 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, -- always_show_bufferline = false,
auto_toggle_bufferline = true, auto_toggle_bufferline = true,
show_close_icon = true, show_close_icon = true,
@@ -45,7 +45,7 @@ local config = {
filetype = "neo-tree", filetype = "neo-tree",
text = "", text = "",
highlight = "Directory", 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 = { groups = {