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

A relatively common Javascript refactoring.

  • Best score: 48
  • Best player score: 165
  • Position: #64 / 65
  • Number of attempts: 1
Extract text from xml - 106 entries

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

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

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 51
  • Position: #1726 / 1734
  • Number of attempts: 2
Simple text editing with Vim - 12232 entries

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

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

Software Engineer

entered into 4 challenges

contributed 0 challenges