Ideally, I'd like <A-left>
to execute :tabmove -1
and <A-right>
to execute :tabmove +1
. However, when I put
nnoremap <A-left> :tabmove -1<cr>
nnoremap <A-right> :tabmove +1<cr>
in my .vimrc and try or , vim beeps and moves my cursor one character over in the direction I pressed. However, typing :tabmove -1<cr>
directly into command mode gives the desired effect. How can I fix this? Thanks in advance.