0

How can I configure Vim and MacVim to respond to control-arrow and meta-{h,l} key-presses? The configuration below is ignored by both.

I'm using iTerm2 (version 3.2.7), Tmux (version 2.8), and Vim (version 8.1, patch 1-950).

Vimrc:

map <Esc>[1;5D <C-Left>
map <Esc>[1;5C <C-Right>
nnoremap <C-S-Tab> :bprevious<CR>
nnoremap <C-Tab> :bnext<CR>
nnoremap <C-Left> :bprevious<CR>
nnoremap <C-Right> :bnext<CR>
nnoremap <M-h> :bprevious<CR>
nnoremap <M-l> :bnext<CR>

Browse other questions tagged or ask your own question.