Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put [challenge ID]

Played Challenges

Refactor arguments into object argument - 159 entries

A relatively common Javascript refactoring.

  • Best score: 48
  • Best player score: 165
  • Position: #62 / 63
  • Number of attempts: 1
Extract text from xml - 101 entries

Extract text from xml file (ignoring commented out elements) and create a one line regex.

  • Best score: 28
  • Best player score: 229
  • Position: #41 / 41
  • Number of attempts: 1
switch variable - 4871 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 51
  • Position: #1685 / 1692
  • Number of attempts: 2
Simple text editing with Vim - 11431 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 178
  • Position: #3352 / 3357
  • Number of attempts: 2
Pamela
Twitter:

Software Engineer

entered into 4 challenges

contributed 0 challenges