feat(nvim): add mappings to switch tabs
This commit is contained in:
parent
05151b8c11
commit
e85e6f152a
@ -21,6 +21,10 @@ M.setup = function()
|
||||
-- Better split closing
|
||||
map('n', '<C-x>', '<C-w>c')
|
||||
|
||||
-- Switch between tabs faster
|
||||
map('n', '<C-s>', ':tabnext<CR>')
|
||||
map('n', '<C-a>', ':tabprevious<CR>')
|
||||
|
||||
-- Set current focused file as cwd
|
||||
map('n', '<leader>cd', ':cd %:p:h<CR>')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user