tab navigation and jump to definition in new tab always
This commit is contained in:
parent
c52fb36c51
commit
04f0dc4bea
@ -21,3 +21,10 @@ vim.g.maplocalleader = ' '
|
||||
|
||||
-- toggle tagbar plugin
|
||||
vim.keymap.set('n', '<F8>', ':TagbarToggle fj<CR>')
|
||||
|
||||
-- tab navigation using <TAB>
|
||||
vim.keymap.set('n', '<Tab>', ':tabnext<CR>')
|
||||
vim.keymap.set('n', '<S-Tab>', ':tabprevious<CR>')
|
||||
|
||||
-- jump to definition in new tab
|
||||
vim.keymap.set('n', '<C-]>', '<cmd>tab split | lua vim.lsp.buf.definition()<CR>', {})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user