This commit is contained in:
ksyasuda 2022-02-13 23:55:37 -08:00
parent c301fbf548
commit c5c8a5e1e3
2 changed files with 16 additions and 3 deletions

View File

@ -19,8 +19,9 @@ nmap <C-n> :NvimTreeToggle<CR>
nnoremap // :Lines<CR> nnoremap // :Lines<CR>
nnoremap ?? :BLines<CR> nnoremap ?? :BLines<CR>
nmap gA :lua vim.lsp.buf.declaration()<CR> nmap gA :lua vim.lsp.buf.code_actions()<CR>
nmap gD :lua vim.lsp.buf.declaration()<CR> nmap gDc :lua vim.lsp.buf.declaration()<CR>
nmap gDf :lua vim.lsp.buf.definition()<CR>
nmap gF :edit <cfile><cr> nmap gF :edit <cfile><cr>
nmap gT :lua vim.lsp.buf.type_definition()<CR> nmap gT :lua vim.lsp.buf.type_definition()<CR>
nmap gb :lua vim.lsp.buf.document_symbol()<CR> nmap gb :lua vim.lsp.buf.document_symbol()<CR>
@ -73,6 +74,18 @@ nmap <leader>j :AnyJump<CR>
nmap K :lua vim.lsp.buf.hover()<CR> nmap K :lua vim.lsp.buf.hover()<CR>
nmap <leader>lD :lua vim.lsp.buf.definition()<CR>
nmap <leader>la :lua vim.lsp.buf.code_action()<CR>
nmap <leader>lci :lua vim.lsp.buf.incoming_calls()<CR>
nmap <leader>lco :lua vim.lsp.buf.outgoing_calls()<CR>
nmap <leader>ld :lua vim.lsp.buf.declaration()<CR>
nmap <leader>lh :lua vim.lsp.buf.signature_help()<CR>
nmap <leader>li :lua vim.lsp.buf.implementation()<CR>
nmap <leader>lr :lua vim.lsp.buf.references()<CR>
nmap <leader>ls :lua vim.lsp.buf.document_symbol()<CR>
nmap <leader>lt :lua vim.lsp.buf.type_definition()<CR>
nmap <leader>lw :lua vim.lsp.buf.workspace_symbol()<CR>
nmap <leader>n :NvimTreeToggle<CR> nmap <leader>n :NvimTreeToggle<CR>
nmap <leader>ob :FloatermNew --title=bpytop --opener=vsplit bpytop<CR> nmap <leader>ob :FloatermNew --title=bpytop --opener=vsplit bpytop<CR>

View File

@ -1,5 +1,5 @@
require("trouble").setup { 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 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 width = 50, -- width of the list when position is left or right
icons = true, -- use devicons for filenames icons = true, -- use devicons for filenames