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

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

  • Best score: 12
  • Best player score: 13
  • Position: #801 / 1675
  • Number of attempts: 2
Swap assigned value - 695 entries

Simple problem but looking for interesting solutions.

  • Best score: 10
  • Best player score: 13
  • Position: #223 / 263
  • Number of attempts: 2
Change your calendar - 421 entries

Happy New Year!

  • Best score: 18
  • Best player score: 38
  • Position: #64 / 89
  • Number of attempts: 1
Block Fun 1 - 245 entries

Manipulate the columns to produce desired result.

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

End up with the name of the game.

  • Best score: 11
  • Best player score: 13
  • Position: #332 / 369
  • Number of attempts: 1
SFD-ROC: vimvimvim - 1642 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: #175 / 457
  • Number of attempts: 3
Vertical Limit - 2637 entries

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

  • Best score: 21
  • Best player score: 22
  • Position: #134 / 778
  • Number of attempts: 6
Sort and add attributes - 1598 entries

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

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

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

  • Best score: 27
  • Best player score: 47
  • Position: #172 / 203
  • Number of attempts: 1
Simple text editing with Vim - 13645 entries

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

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

Web programmer at Naver

entered into 10 challenges

contributed 0 challenges