Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Operation System: OS X

Console: iTerm

sh: zsh

This worked fine i go to bottom window from top:

map <c-down> <c-w><down>
imap <c-down> <esc><c-w><c-down>

But this doesn't work

map <c-right> <c-w><right>
imap <c-right> <esc><c-w><c-right>

Somebody help me !) Tell why....

share|improve this question
Isn't <C-Right> already used by iTerm? – romainl Aug 18 '12 at 13:14
up vote 0 down vote accepted

Most of the "Vim Crowd" would agree that not using the arrow keys is a good thing. That is why many vimrc's will include:

nnoremap <C-h> <C-w>h
nnoremap <C-j> <C-w>j
nnoremap <C-k> <C-w>k
nnoremap <C-l> <C-w>l

This will allow you to do ctrl - w then jump to up, down, left, right with hjkl bindings. This does not solve your problem with the arrow keys but, does give you a "correct" way to get to your required solution.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .