fix: signature keybind
This commit is contained in:
parent
ff4ddfda48
commit
9449b23a11
1 changed files with 3 additions and 1 deletions
|
@ -83,9 +83,9 @@ function KEYBINDS:set_lsp_keys(opts)
|
|||
vim.keymap.set('n', '<leader>i', vim.lsp.buf.implementation, opts)
|
||||
vim.keymap.set('n', '<leader>r', vim.lsp.buf.references, opts)
|
||||
vim.keymap.set('n', '<leader>h', vim.lsp.buf.hover, opts)
|
||||
vim.keymap.set('n', '<leader>f', vim.lsp.buf.signature_help, opts)
|
||||
vim.keymap.set('n', '<C-Space>', vim.lsp.buf.hover, opts)
|
||||
vim.keymap.set('n', '<C-x>', vim.lsp.buf.hover, opts)
|
||||
vim.keymap.set('n', '<C-k>', vim.lsp.buf.signature_help, opts)
|
||||
-- vim.keymap.set('n', '<space>wa', vim.lsp.buf.add_workspace_folder, opts)
|
||||
-- vim.keymap.set('n', '<space>wr', vim.lsp.buf.remove_workspace_folder, opts)
|
||||
vim.keymap.set('n', '<M-r>', vim.lsp.buf.rename, opts)
|
||||
|
@ -134,6 +134,8 @@ function KEYBINDS:set_telescope_keys(opts)
|
|||
vim.keymap.set('n', '<M-/>', wrap(telescope.current_buffer_fuzzy_find, {layout_strategy = 'vertical'}), opts) -- fallback for windows
|
||||
-- Symbols with telescope
|
||||
vim.keymap.set('n', '<C-\\>', telescope.lsp_document_symbols, opts)
|
||||
vim.keymap.set('n', '<leader>/', telescope.lsp_document_symbols, opts)
|
||||
vim.keymap.set('n', '<leader>s', wrap(telescope.lsp_dynamic_workspace_symbols, {layout_strategy = 'vertical'}), opts)
|
||||
vim.keymap.set('n', '<C-|>', wrap(telescope.lsp_dynamic_workspace_symbols, {layout_strategy = 'vertical'}), opts)
|
||||
vim.keymap.set('n', '<M-|>', wrap(telescope.lsp_dynamic_workspace_symbols, {layout_strategy = 'vertical'}), opts)
|
||||
-- Resule last
|
||||
|
|
Loading…
Reference in a new issue