I really like pair programming for particular projects or features. It can act as an immediate sanity check and increase code coverage across your development team. That said I always seem to run into an issue regarding editors. I primarily code Ruby and I personally like to use VIM whereas other developers on my team use EMACS, TextMate or RubyMine. On top of that, even if two developers are using the same editor, it seems that everyone has a different macro for running tests or executing a certain file.

My question is this: how do you continue to pair program when everyone has a different editor preference? Is there some kind of software or development practice that would allow two developers to pair program from different editors? Do you just have to agree on a common editor that you can both use? How do you solve this problem in your company?

  • 4
    And what about different keyboard layouts? Dvorak someone? – Didier Trosset Oct 26 '11 at 7:03
  • You can easily switch keyboard settings by pressing ctrl-shift in Windows. On my PC, that switches between Qwerty & Azerty. Or of course, attach another keyboard once you take over programming. – Carra Oct 26 '11 at 7:18
  • Hour one: you program, the other person watches and helps thinking.

  • Hour two: the other person programs, you watch and help thinking.

You can switch editors when the other person starts programming.


I've started using the homesick gem to track my .vimrc, .vim, etc

Now I can checkout my dot files to any machine, no worries! hooray!

I do tend to keep my customized vim pretty light (CommandT, some whitespace stuff, matchit) that way I learn how to do stuff the standard way instead of the really cool way that only my computer uses.

I also try to learn the basics of the different editors. I can pair program in RubyMine, TextMate, VIM, and a smidge of emacs. I practice a little bit with each editor. Sure I won't type as fast as if I were using VIM, but typing isn't the bottleneck ;).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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