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)