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: 12
  • Position: #359 / 1638
  • Number of attempts: 5
That hyphen - 2602 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Position: #28 / 704
  • Number of attempts: 5
Basic renumbering - 5707 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 14
  • Position: #324 / 1274
  • Number of attempts: 10
I forgot quotes - 16093 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #9 / 4202
  • Number of attempts: 5
Where should I put the Newline? - 883 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 7
  • Position: #123 / 438
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10713 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #522 / 3700
  • Number of attempts: 3
Words in parens - 12992 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #468 / 3977
  • Number of attempts: 8
Saving the hashes(#) - 2067 entries

The following file is copied from vimcasts.org(Its only for learning purpose,hope the site owner doesn't mind it), its probably the easiest of challenges.Our goal is to delete every line which doesn't contain a hash signs. The remaining hash signs with numbers are then sorted to get the final output.

  • Best score: 20
  • Best player score: 20
  • Position: #28 / 480
  • Number of attempts: 8
Append semicolon after expressions - 1061 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 11
  • Position: #82 / 421
  • Number of attempts: 3
switch variable - 5094 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #333 / 1754
  • Number of attempts: 4
Numbering a List - 1940 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 18
  • Position: #142 / 656
  • Number of attempts: 5
The Cake is a Lie - 1386 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 9
  • Position: #196 / 537
  • Number of attempts: 3
Simple text editing with Vim - 13274 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #302 / 3811
  • Number of attempts: 7
Hrvoje Kopinc
Twitter:

entered into 13 challenges

contributed 0 challenges