I'm using these keyboard shortcuts to navigate/manipulate tabs in MacVim
" tab navigation
nnoremap <silent> <S-Left> :tabprevious<CR>
nnoremap <silent> <S-Right> :tabnext<CR>
" tab movement
nnoremap <silent> <S-A-Left> :call MoveTabLeft()<CR>
nnoremap <silent> <S-A-Right> :call MoveTabRight()<CR>
(I'm using custom functions that use tabmove
to position current tab.)
When running vim from Terminal.app, Shift+Left and Shift+Right work (i.e. I can navigate tabs right and left), but when using Shift+Alt+Arrow nothing happens. Does this require Terminal.app configuration to send some special characters, is this a feature of MacVim only or is there a vim setting I am not using properly?
:set <s-left>=
type ctrl V then shift-left – Mass Oct 27 '17 at 15:42