Ask Different is a question and answer site for power users of Apple hardware and software. 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

I'm a developer who mostly does web stuff in Ruby and C#, and I'd like to start tinkering with iOS and Mac development.

Over the last few month I've been trying to get fluent in one set of key bindings. I chose vi/vim because it just feels right.

I have the awesome ViEmu installed for Visual Studio on Windows which gives me a ton of the vim awesomeness side by side with Visual Studio power toys.

Is there anything like this for Xcode?

I know I could set up MacVim as the default editor but I'm not too interested in this as it means losing all of Xcode's Cocoa awareness.

The other option, of course, would be to go for the lowest common denominator and switch to emacs (as the Cocoa keybindings are based massively on emacs) but let's not think about that for too long.

share|improve this question

There are XVim and xVim plugins for Xcode, they are made exactly for this.

You can also use KeyRemap4MacBook for this (from answer on stackoverflow and this blog):

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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