Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
Emulating the right Ctrl key on MacBook Pro keyboard lacking an actual right Ctrl key
MacVim with Mac Keyboard: Where Is the Right CTRL Key?

I'm fairly new to Vim and I learned that if I want to switch which window I'm working in, I need to press Ctrl + W, followed by a h, j, k, or l. "Ctrl + W" is a really awkward series of keypresses -- at least on a Mac -- for such a common command. Is there a better way to do this?

share|improve this question
add comment

marked as duplicate by techie007, soandos, Canadian Luke, Nifle, CharlieRB Oct 19 '12 at 12:49

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.

2 Answers

<C-W><C-J> is an alternative to <C-W>j but that's all there is according to the docs (see :h ^Wj)

You may define your own mapping like this

:map <F2> <C-W>j

share|improve this answer
add comment

<C-W><C-W> will jump to the next window below or right, and after the last window it cycles back to the first, so if you're not using very many windows, you can just hold one finger on the Ctrl key and hit the W key until you get to the window you want. See

:help CTRL-W_CTRL-W
share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.