diff --git a/lua/keybinds.lua b/lua/keybinds.lua index 61a1e16..78d9d3a 100644 --- a/lua/keybinds.lua +++ b/lua/keybinds.lua @@ -83,9 +83,9 @@ function KEYBINDS:set_lsp_keys(opts) vim.keymap.set('n', 'i', vim.lsp.buf.implementation, 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.hover, opts) vim.keymap.set('n', '', vim.lsp.buf.hover, opts) - vim.keymap.set('n', '', vim.lsp.buf.signature_help, opts) -- vim.keymap.set('n', 'wa', vim.lsp.buf.add_workspace_folder, opts) -- vim.keymap.set('n', 'wr', vim.lsp.buf.remove_workspace_folder, opts) vim.keymap.set('n', '', vim.lsp.buf.rename, opts) @@ -134,6 +134,8 @@ function KEYBINDS:set_telescope_keys(opts) vim.keymap.set('n', '', wrap(telescope.current_buffer_fuzzy_find, {layout_strategy = 'vertical'}), opts) -- fallback for windows -- Symbols with telescope vim.keymap.set('n', '', telescope.lsp_document_symbols, opts) + vim.keymap.set('n', '/', telescope.lsp_document_symbols, opts) + vim.keymap.set('n', 's', wrap(telescope.lsp_dynamic_workspace_symbols, {layout_strategy = 'vertical'}), opts) vim.keymap.set('n', '', wrap(telescope.lsp_dynamic_workspace_symbols, {layout_strategy = 'vertical'}), opts) vim.keymap.set('n', '', wrap(telescope.lsp_dynamic_workspace_symbols, {layout_strategy = 'vertical'}), opts) -- Resule last