To enable navigation in Tab, for example firefox, add this to your vimrc:
nnoremap <CS-tab> :tabprevious<CR> nnoremap <C-tab> :tabnext<CR> nnoremap <Ct> :tabnew<CR> inoremap <CS-tab> <Esc>:tabprevious<CR>i inoremap <C-tab> <Esc>:tabnext<CR>i inoremap <Ct> <Esc>:tabnew<CR> inoremap <CSw> <Esc>:tabclose<CR>
It is also useful. Use <A-Fn> to go to the nth tab
nnoremap <A-F1> 1gt nnoremap <A-F2> 2gt nnoremap <A-F3> 3gt nnoremap <A-F4> 4gt nnoremap <A-F5> 5gt nnoremap <A-F6> 6gt nnoremap <A-F7> 7gt nnoremap <A-F8> 8gt nnoremap <A-F9> 9gt nnoremap <A-F10> 10gt
Where
C
NOTE: Alt + f4 is usually used to close windows. So check this out. If the problem persists, you can always display Ctrl or Shift instead of Alt, or use a combination of them.
Prabhat Kumar Singh Oct 21 '14 at 2:47 a.m. 2014-10-21 14:47
source share