diff --git a/init.lua b/init.lua index aeaa05f..2076c27 100644 --- a/init.lua +++ b/init.lua @@ -9,7 +9,7 @@ require("config") -- ╭─────────╮ -- │ Generic │ -- ╰─────────╯ -vim.cmd("set rnu") +vim.cmd("set nu rnu") vim.cmd("set textwidth=0") vim.cmd("set wrapmargin=0") vim.cmd("set linebreak") @@ -37,7 +37,7 @@ vim.cmd("set clipboard=unnamedplus") -- ╰───────╯ vim.opt.fillchars = { horiz = "━", - vert = "·", + vert = " ", stl = " ", eob = " ", } diff --git a/lazy-lock.json b/lazy-lock.json index 75934d1..7dd77ec 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -10,6 +10,7 @@ "indent-blankline.nvim": { "branch": "master", "commit": "e10626f7fcd51ccd56d7ffc00883ba7e0aa28f78" }, "lazy.nvim": { "branch": "main", "commit": "7e6c863bc7563efbdd757a310d17ebc95166cef3" }, "lualine.nvim": { "branch": "master", "commit": "2a5bae925481f999263d6f5ed8361baef8df4f83" }, + "mini.clue": { "branch": "main", "commit": "2d361459de6a5fd7ea20a14ee4b95c6caec383b9" }, "mini.icons": { "branch": "main", "commit": "910db5df9724d65371182948f921fce23c2c881e" }, "monkey-alert": { "branch": "main", "commit": "213a39f8161f80ce43e1a164a54fe796432422b8" }, "neo-tree.nvim": { "branch": "main", "commit": "521bb4253b1adc2a1ff6c584bc839eba9bc99c0b" }, diff --git a/lua/plugins/help.lua b/lua/plugins/help.lua index 9e164d8..fbf422e 100644 --- a/lua/plugins/help.lua +++ b/lua/plugins/help.lua @@ -2,6 +2,52 @@ -- │ Usage help │ -- ╰────────────╯ return { + { + "nvim-mini/mini.clue", + opts = { + triggers = { + -- Leader triggers + { mode = 'n', keys = '' }, + { mode = 'x', keys = '' }, + + -- Built-in completion + { mode = 'i', keys = '' }, + + -- `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 = '' }, + { mode = 'c', keys = '' }, + + -- Window commands + { mode = 'n', keys = '' }, + + -- `z` key + { mode = 'n', keys = 'z' }, + { mode = 'x', keys = 'z' }, + }, + + clues = { + -- Enhance this by adding descriptions for 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", diff --git a/lua/plugins/opts/bufferline.lua b/lua/plugins/opts/bufferline.lua index c4fb0f4..3c1e049 100644 --- a/lua/plugins/opts/bufferline.lua +++ b/lua/plugins/opts/bufferline.lua @@ -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 = {