diff options
Diffstat (limited to '.config/nvim/lua/keybinds.lua')
-rw-r--r-- | .config/nvim/lua/keybinds.lua | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/.config/nvim/lua/keybinds.lua b/.config/nvim/lua/keybinds.lua index bc36772..6094a61 100644 --- a/.config/nvim/lua/keybinds.lua +++ b/.config/nvim/lua/keybinds.lua @@ -64,30 +64,30 @@ vim.keymap.set({ "t" }, "<ESC>", "<C-\\><C-n>") vim.opt.whichwrap = "<,>,h,l,[,]" -wk.register({ - ["<CR>"] = "Quick Action"; - ["K"] = "Hover"; - ["D"] = "Definition"; - ["S"] = "Symbols"; - ["F"] = "Format"; - ["f"] = "Find files"; - ["<TAB>"] = "Show buffers"; - [","] = "Show errors"; - ["["] = "Open folds"; - ["]"] = "Close folds"; - ["r"] = "Rename"; - ["n"] = "Show file tree"; - ["m"] = "Toggle Minimap"; - ["b"] = "Blame line"; - ["h"] = "Preview hunk"; - ["d"] = "Show diagnostics"; - ["t"] = "Open terminal"; - ["s"] = "Save file"; - ["q"] = "Quit"; - ["R"] = "Show References"; - ["J"] = "Signature help"; - ["U"] = "Undo tree"; - ["N"] = "Next tab"; - ["P"] = "Previous tab"; - ["L"] = "Toggle plain mode"; +wk.add({ + { "<leader>,", desc = "Show errors" }, + { "<leader><CR>", desc = "Quick Action" }, + { "<leader><TAB>", desc = "Show buffers" }, + { "<leader>D", desc = "Definition" }, + { "<leader>F", desc = "Format" }, + { "<leader>J", desc = "Signature help" }, + { "<leader>K", desc = "Hover" }, + { "<leader>L", desc = "Toggle plain mode" }, + { "<leader>N", desc = "Next tab" }, + { "<leader>P", desc = "Previous tab" }, + { "<leader>R", desc = "Show References" }, + { "<leader>S", desc = "Symbols" }, + { "<leader>U", desc = "Undo tree" }, + { "<leader>[", desc = "Open folds" }, + { "<leader>]", desc = "Close folds" }, + { "<leader>b", desc = "Blame line" }, + { "<leader>d", desc = "Show diagnostics" }, + { "<leader>f", desc = "Find files" }, + { "<leader>h", desc = "Preview hunk" }, + { "<leader>m", desc = "Toggle Minimap" }, + { "<leader>n", desc = "Show file tree" }, + { "<leader>q", desc = "Quit" }, + { "<leader>r", desc = "Rename" }, + { "<leader>s", desc = "Save file" }, + { "<leader>t", desc = "Open terminal" }, }, { prefix = "<leader>" }); |