diff --git a/nvim/keybindings.vim b/nvim/keybindings.vim index a02da9a..67f3486 100644 --- a/nvim/keybindings.vim +++ b/nvim/keybindings.vim @@ -19,8 +19,9 @@ nmap :NvimTreeToggle nnoremap // :Lines nnoremap ?? :BLines -nmap gA :lua vim.lsp.buf.declaration() -nmap gD :lua vim.lsp.buf.declaration() +nmap gA :lua vim.lsp.buf.code_actions() +nmap gDc :lua vim.lsp.buf.declaration() +nmap gDf :lua vim.lsp.buf.definition() nmap gF :edit nmap gT :lua vim.lsp.buf.type_definition() nmap gb :lua vim.lsp.buf.document_symbol() @@ -73,6 +74,18 @@ nmap j :AnyJump nmap K :lua vim.lsp.buf.hover() +nmap lD :lua vim.lsp.buf.definition() +nmap la :lua vim.lsp.buf.code_action() +nmap lci :lua vim.lsp.buf.incoming_calls() +nmap lco :lua vim.lsp.buf.outgoing_calls() +nmap ld :lua vim.lsp.buf.declaration() +nmap lh :lua vim.lsp.buf.signature_help() +nmap li :lua vim.lsp.buf.implementation() +nmap lr :lua vim.lsp.buf.references() +nmap ls :lua vim.lsp.buf.document_symbol() +nmap lt :lua vim.lsp.buf.type_definition() +nmap lw :lua vim.lsp.buf.workspace_symbol() + nmap n :NvimTreeToggle nmap ob :FloatermNew --title=bpytop --opener=vsplit bpytop diff --git a/nvim/plugin-confs/trouble.lua b/nvim/plugin-confs/trouble.lua index 783c70c..ad0f1bc 100644 --- a/nvim/plugin-confs/trouble.lua +++ b/nvim/plugin-confs/trouble.lua @@ -1,5 +1,5 @@ require("trouble").setup { - position = "bottom", -- position of the list can be: bottom, top, left, right + position = "right", -- position of the list can be: bottom, top, left, right height = 10, -- height of the trouble list when position is top or bottom width = 50, -- width of the list when position is left or right icons = true, -- use devicons for filenames