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

Swap values inside brackets - 2521 entries

Easy challenge.

  • Best score: 13
  • Best player score: 20
  • Position: #392 / 585
  • Number of attempts: 2
Search and Replace 0 - 5007 entries

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

  • Best score: 12
  • Best player score: 14
  • Position: #916 / 1631
  • Number of attempts: 4
Ruby 1.9 hashes - 1260 entries

Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!

  • Best score: 12
  • Best player score: 18
  • Position: #337 / 410
  • Number of attempts: 3
A Simple One - 1064 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Position: #167 / 670
  • Number of attempts: 2
Increment, increment, increment.... - 701 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #182 / 413
  • Number of attempts: 2
Hatsuyume - 549 entries

http://en.wikipedia.org/wiki/Hatsuyume

  • Best score: 15
  • Best player score: 34
  • Position: #159 / 190
  • Number of attempts: 1
The Cake is a Lie - 1374 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 11
  • Position: #413 / 534
  • Number of attempts: 1
Simple text editing with Vim - 13145 entries

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

  • Best score: 13
  • Best player score: 17
  • Position: #2386 / 3778
  • Number of attempts: 2
Vladimir Parfinenko
Twitter:

Программирую компиляторы, учу программировать детей, катаюсь на сноуборде, помогаю @Reynard_fox с выпечкой.

entered into 8 challenges

contributed 0 challenges