Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function! TabMoveLeft()
- if tabpagenr() > 1
- execute "tabmove" tabpagenr() - 2
- endif
- endfunction
- function! TabMoveRight()
- if tabpagenr() < tabpagenr('$')
- execute "tabmove" tabpagenr()
- endif
- endfunction
- nmap <M-S-Left> :call TabMoveLeft()<CR>
- nmap <M-S-Right> :call TabMoveRight()<CR>
- " vim:ft=vim
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement