Remove LSP keybind conflicting with navigation
Vista shortcut now toggles the panel
This commit is contained in:
parent
b9e1da82b6
commit
278f677c8a
2
init.vim
2
init.vim
|
@ -86,7 +86,7 @@ command Bd b# | bd #
|
|||
command! BufOnly silent! execute "%bd|e#|bd#"
|
||||
nnoremap <Leader>b :buffers<CR>:buffer<Space>
|
||||
nnoremap <leader>n :NERDTreeFocus<CR>
|
||||
nnoremap <leader>k :Vista<CR>
|
||||
nnoremap <leader>k :Vista!!<CR>
|
||||
nnoremap <leader>; :Vista finder<CR>
|
||||
nnoremap <C-n> :NERDTree<CR>
|
||||
nnoremap <C-t> :NERDTreeToggle<CR>
|
||||
|
|
|
@ -19,7 +19,7 @@ local on_attach = function(client, bufnr)
|
|||
vim.keymap.set('n', 'gd', vim.lsp.buf.definition, bufopts)
|
||||
vim.keymap.set('n', 'K', vim.lsp.buf.hover, bufopts)
|
||||
vim.keymap.set('n', 'gi', vim.lsp.buf.implementation, bufopts)
|
||||
vim.keymap.set('n', '<C-k>', vim.lsp.buf.signature_help, bufopts)
|
||||
-- vim.keymap.set('n', '<C-k>', vim.lsp.buf.signature_help, bufopts)
|
||||
vim.keymap.set('n', '<space>wa', vim.lsp.buf.add_workspace_folder, bufopts)
|
||||
vim.keymap.set('n', '<space>wr', vim.lsp.buf.remove_workspace_folder, bufopts)
|
||||
vim.keymap.set('n', '<space>wl', function()
|
||||
|
|
Loading…
Reference in a new issue