Remove LSP keybind conflicting with navigation

Vista shortcut now toggles the panel
This commit is contained in:
Edward Litherland-Smith 2022-08-08 13:53:00 +01:00
parent b9e1da82b6
commit 278f677c8a
2 changed files with 2 additions and 2 deletions

View file

@ -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>

View file

@ -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()