Shift and move your tabs around

1 Point

Durga Swaroop Perla Durga Swaroop Perla

7 years ago

Shifting your tabs around is not really easy in Vim. This being something I often do, I made these mappings for it.

nnoremap <silent> <A-Left> :execute 'silent! tabmove ' . (tabpagenr()-2)<CR>
nnoremap <silent> <A-Right> :execute 'silent! tabmove ' . tabpagenr()<CR>