feat(nvim): add mappings to switch tabs

This commit is contained in:
Price Hiller 2022-06-28 13:09:38 -05:00
parent 05151b8c11
commit e85e6f152a

View File

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