From a6630c6eb0634e1baffe6f44524c3d97ea42ea35 Mon Sep 17 00:00:00 2001 From: alemi Date: Wed, 4 Dec 2024 01:38:36 +0100 Subject: [PATCH] feat: better signature help, symbolmap mappings --- lua/keybinds.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/keybinds.lua b/lua/keybinds.lua index 96c5ef7..818bd17 100644 --- a/lua/keybinds.lua +++ b/lua/keybinds.lua @@ -44,6 +44,7 @@ function KEYBINDS:set_global_keys(opts) vim.keymap.set('n', '', ':tabnew', opts) -- fallback for windows vim.keymap.set('n', '', ':Neotree toggle', {noremap=true}) vim.keymap.set('n', '', ':Neotree toggle source=symbolmap right', {noremap=true}) + vim.keymap.set('n', '', ':Neotree toggle source=symbolmap right', {noremap=true}) vim.keymap.set('n', '', ':Neotree toggle source=diagnostics bottom', opts) -- vim.keymap.set('n', '', vim.cmd.UndotreeToggle, {noremap=true}) -- Esc goes back to normal mode in terminal @@ -84,6 +85,7 @@ function KEYBINDS:set_lsp_keys(opts) vim.keymap.set('n', 'r', vim.lsp.buf.references, opts) vim.keymap.set('n', 'h', vim.lsp.buf.hover, opts) vim.keymap.set('n', 'f', vim.lsp.buf.signature_help, opts) + vim.keymap.set('n', '', vim.lsp.buf.signature_help, opts) vim.keymap.set('n', '', vim.lsp.buf.hover, opts) vim.keymap.set('n', '', vim.lsp.buf.hover, opts) vim.keymap.set('n', 'H', function() vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled()) end)