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

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

  • Best score: 12
  • Best player score: 13
  • Position: #783 / 1638
  • Number of attempts: 2
Swap assigned value - 671 entries

Simple problem but looking for interesting solutions.

  • Best score: 10
  • Best player score: 13
  • Position: #220 / 259
  • Number of attempts: 2
Change your calendar - 397 entries

Happy New Year!

  • Best score: 18
  • Best player score: 38
  • Position: #63 / 88
  • Number of attempts: 1
Block Fun 1 - 211 entries

Manipulate the columns to produce desired result.

  • Best score: 14
  • Best player score: 14
  • Position: #6 / 76
  • Number of attempts: 4
The name of the game - 678 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 13
  • Position: #327 / 363
  • Number of attempts: 1
SFD-ROC: vimvimvim - 1620 entries

Oh no, this line is longer than 80 chars... put each 'vim' on a new line.

  • Best score: 8
  • Best player score: 9
  • Position: #173 / 450
  • Number of attempts: 3
Vertical Limit - 2596 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 22
  • Position: #130 / 767
  • Number of attempts: 6
Sort and add attributes - 1539 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 34
  • Position: #349 / 594
  • Number of attempts: 1
Add fold markers to a .c file - 683 entries

Fold markers can make it easier to navigate source code. Add them to this .c file.

  • Best score: 30
  • Best player score: 47
  • Position: #164 / 194
  • Number of attempts: 1
Simple text editing with Vim - 13273 entries

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

  • Best score: 13
  • Best player score: 17
  • Position: #2432 / 3811
  • Number of attempts: 1
Yi EungJun
Twitter:

Web programmer at Naver

entered into 10 challenges

contributed 0 challenges