diff options
Diffstat (limited to '.config/nvim/lua/binds.lua')
-rw-r--r-- | .config/nvim/lua/binds.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.config/nvim/lua/binds.lua b/.config/nvim/lua/binds.lua index 181391e..a1f3f10 100644 --- a/.config/nvim/lua/binds.lua +++ b/.config/nvim/lua/binds.lua @@ -33,8 +33,12 @@ map('n', '<leader>fg', '<cmd>Telescope live_grep<cr>', opts) map('n', '<leader>fb', '<cmd>Telescope buffers<cr>', opts) map('n', '<leader>fh', '<cmd>Telescope help_tags<cr>', opts) -map('n', '<leader>fu', '<cmd>Telescope lsp_references<cr>', opts) map('n', '<leader>gd', '<cmd>Telescope lsp_definitions<cr>', opts) +map('n', '<leader>gD', '<cmd>Telescope lsp_declarations<cr>', opts) +map('n', '<leader>gr', '<cmd>Telescope lsp_references<cr>', opts) +map('n', '<leader>gi', '<cmd>Telescope lsp_implementations<cr>', opts) +map('n', '<leader>K', '<cmd>lua vim.lsp.buf.hover()<cr>', opts) +map('n', '<leader><C-k>', '<cmd>lua vim.lsp.buf.signature_help()<cr>', opts) map('n', '<leader>rn', '<cmd>lua vim.lsp.buf.rename()<cr>', opts) map('n', '<leader>xd', '<cmd>Telescope lsp_document_diagnostics<cr>', opts) map('n', '<leader>xD', '<cmd>Telescope lsp_workspace_diagnostics<cr>', opts) |