Add which-key and some basic keybinds
This commit is contained in:
parent
e2a8848a27
commit
cc66db9594
4 changed files with 16 additions and 9 deletions
10
.config/nvim/lua/plugins/which-key.lua
Normal file
10
.config/nvim/lua/plugins/which-key.lua
Normal file
|
@ -0,0 +1,10 @@
|
|||
return {
|
||||
"folke/which-key.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {},
|
||||
keys = {
|
||||
{ "<leader>f", "<cmd>Neotree<cr>", desc = "Open Neotree" },
|
||||
{ "<leader>>", "<cmd>:lua vim.diagnostic.goto_next()<cr>", desc = "Jump to next issue" },
|
||||
{ "<leader><", "<cmd>:lua vim.diagnostic.goto_prev()<cr>", desc = "Jump to prev issue" },
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue