vim: better navigation between tabs

This commit is contained in:
Fernando Schauenburg 2022-02-09 16:53:50 +01:00
parent b4fb3ec5cd
commit df1cb09467

View file

@ -26,8 +26,8 @@ nmap { '<Left>', '<cmd>vertical resize -1<cr>' }
nmap { '<Right>', '<cmd>vertical resize +1<cr>' } nmap { '<Right>', '<cmd>vertical resize +1<cr>' }
-- easier tab navigation -- easier tab navigation
nmap { '<c-n>', '<cmd>tabprevious<cr>', { silent = true } } nmap { '+', '<cmd>tabprevious<cr>', { silent = true } }
nmap { '<c-m>', '<cmd>tabnext<cr>' , { silent = true } } nmap { '-', '<cmd>tabnext<cr>' , { silent = true } }
-- move lines up and down -- move lines up and down
nmap { '<A-j>', [[:move .+1<cr>==]] , { silent = true } } nmap { '<A-j>', [[:move .+1<cr>==]] , { silent = true } }