I know they have many topics about that, but i no one of them works.
My configuration worked before to switch between split window, but my session has been re-init and i lost my osx config and it's not working anymore.
In my .vimrc
i have:
nnoremap <silent> <ESC>^[A <Nop>
nnoremap <silent> <ESC>^[B <Nop>
nnoremap <silent> <ESC>^[D <Nop>
nnoremap <silent> <ESC>^[C <Nop>
nnoremap <silent> <C-Right> <c-w>l
nnoremap <silent> <C-Left> <c-w>h
nnoremap <silent> <C-Up> <c-w>k
nnoremap <silent> <C-Down> <c-w>j
On iTerm
i set my terminal as Terminal App default
(i tried with xterm default
too)
In the system preference, i disable the mission control keys with ctrl + arrow key
in System preference.
with sed -n l
i have
LEFT: ^[[D
| CTRL + LEFT: ^[[5D
nnoremap <silent> <esc>[5D <c-w>h
should work !^-k ^ <up>
print me<Up>
instead of<C-Up>
any idea ?