0

This question already has an answer here:

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>

marked as duplicate by D. Ben Knoble, peterh, jamessan, Hotschke, B Layer Feb 23 at 10:45

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.