diff options
Diffstat (limited to 'config/.config/nvim/lua/plugins/_editor.lua')
-rw-r--r-- | config/.config/nvim/lua/plugins/_editor.lua | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/config/.config/nvim/lua/plugins/_editor.lua b/config/.config/nvim/lua/plugins/_editor.lua index 4eefb48..1680b30 100644 --- a/config/.config/nvim/lua/plugins/_editor.lua +++ b/config/.config/nvim/lua/plugins/_editor.lua @@ -26,9 +26,19 @@ return { -- which-key helps you remember key bindings by showing a popup -- with the active keybindings of the command you started typing. - --{ -- https://github.com/folke/which-key.nvim - -- "folke/which-key.nvim", - --}, + { -- https://github.com/folke/which-key.nvim + "folke/which-key.nvim", + keys = { + { "<leader>W", "<cmd>WhichKey<cr>", desc = "WhichKey" } + }, + opts = { + preset = "classic", + win = { + --border = { "", "═" ,"", "", "", "", "", "" } + border = "none" + }, + }, + }, -- git signs highlights text that has changed since the list -- git commit, and also lets you interactively stage & unstage @@ -38,16 +48,16 @@ return { opts = { culhl = true, signs = { - add = { text = '┃' }, - change = { text = '┃' }, + add = { text = '⎸' }, -- default: '┃' + change = { text = '⎸' }, -- default: '┃' delete = { text = '_' }, topdelete = { text = '‾' }, changedelete = { text = '~' }, untracked = { text = '┆' }, }, signs_staged = { - add = { text = '┃' }, - change = { text = '┃' }, + add = { text = '⎸' }, -- default: '┃' + change = { text = '⎸' }, -- default: '┃' delete = { text = '_' }, topdelete = { text = '‾' }, changedelete = { text = '~' }, |