nvim: better key bindings fog tab navigation

This commit is contained in:
Fernando Schauenburg 2023-05-05 14:15:26 +02:00
parent dc4875bcec
commit d889b4b8fc

View file

@ -31,8 +31,8 @@ map('n', '<s-Left>', '<cmd>vertical resize -1<cr>')
map('n', '<s-Right>', '<cmd>vertical resize +1<cr>') map('n', '<s-Right>', '<cmd>vertical resize +1<cr>')
-- easy tab navigation -- easy tab navigation
map('n', '<leader>.', '<cmd>tabnext<cr>', { silent = true }) map('n', '<Right>', '<cmd>tabnext<cr>', { silent = true })
map('n', '<leader>,', '<cmd>tabprevious<cr>', { silent = true }) map('n', '<Left>', '<cmd>tabprevious<cr>', { silent = true })
-- move lines up and down -- move lines up and down
map('n', '<c-a-j>', [[:move .+1<cr>==]], { silent = true }) map('n', '<c-a-j>', [[:move .+1<cr>==]], { silent = true })