aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/keybinds.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/keybinds.lua')
-rw-r--r--.config/nvim/lua/keybinds.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/nvim/lua/keybinds.lua b/.config/nvim/lua/keybinds.lua
index 80a058f..8f2de84 100644
--- a/.config/nvim/lua/keybinds.lua
+++ b/.config/nvim/lua/keybinds.lua
@@ -17,8 +17,10 @@ vim.keymap.set("n", "<Leader>n", nt_api.tree.toggle)
vim.keymap.set("n", "<Leader><CR>", vim.lsp.buf.code_action)
vim.keymap.set("n", "<Leader>K", vim.lsp.buf.hover)
vim.keymap.set("n", "<Leader>D", vim.lsp.buf.definition)
+vim.keymap.set("n", "<Leader>R", vim.lsp.buf.references)
vim.keymap.set("n", "<Leader>F", vim.lsp.buf.formatting)
vim.keymap.set("n", "<Leader>d", vim.diagnostic.open_float)
+vim.keymap.set("n", "<Leader>J", vim.lsp.buf.signature_help)
vim.keymap.set("n", "<Leader>f", telescope.find_files)
vim.keymap.set("n", "<Leader><TAB>", telescope.buffers)
@@ -52,5 +54,7 @@ wk.register({
["t"] = "Open terminal";
["s"] = "Save file";
["q"] = "Quit";
+ ["R"] = "Show References";
+ ["J"] = "Signature help";
}, { prefix = "<leader>" });