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 - 181 entries

A relatively common Javascript refactoring.

  • Best score: 48
  • Best player score: 165
  • Position: #67 / 69
  • Number of attempts: 1
Extract text from xml - 149 entries

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

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

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 51
  • Position: #1750 / 1759
  • Number of attempts: 2
Simple text editing with Vim - 13526 entries

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

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

Software Engineer

entered into 4 challenges

contributed 0 challenges