Switching between tabs made easy

1 Point

Durga Swaroop Perla Durga Swaroop Perla

4 years ago

Switching between tabs can hard if you have to type :tabnext or :tabprevious everytime. So, give these mapping a try. These are intuitive and you are probably already familiar with these key combinations.

nnoremap <C-Tab> :tabnext<CR>
nnoremap <S-Tab> :tabprevious<CR>
nnoremap <C-S-Tab> :tabprevious<CR>

inoremap <C-Tab> <ESC>:tabnext<CR>
inoremap <S-Tab> <ESC>:tabprevious<CR>

Romain Lafourcade

Romain Lafourcade 4 years ago

Why not gt and gT?

Cam H

Cam H 4 years ago

At least for me, I'm not a big fan of gt and gT - I remapped mine to ef and fe.