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

Search and Replace 0 - 5159 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 13
  • Position: #791 / 1674
  • Number of attempts: 7
Swap assigned value - 694 entries

Simple problem but looking for interesting solutions.

  • Best score: 10
  • Best player score: 11
  • Position: #125 / 263
  • Number of attempts: 4
fib.c cleanup - 80 entries

cleanup the file

  • Best score: 15
  • Best player score: 16
  • Position: #23 / 59
  • Number of attempts: 1
Simple text editing with Vim - 13626 entries

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

  • Best score: 13
  • Best player score: 30
  • Position: #3556 / 3902
  • Number of attempts: 2
cheerfulstoic
Twitter:

entered into 4 challenges

contributed 0 challenges