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

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

  • Best score: 12
  • Best player score: 12
  • Position: #359 / 1507
  • Number of attempts: 5
That hyphen - 2464 entries

"vim vi improved"

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

Renumbering Basic.

  • Best score: 11
  • Best player score: 14
  • Position: #289 / 1218
  • Number of attempts: 10
I forgot quotes - 15639 entries

Oops.

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

Help me put the newline.

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

A HAPPY NEW YEAR 2014 !

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

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #444 / 3903
  • Number of attempts: 8
Saving the hashes(#) - 1929 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 / 461
  • Number of attempts: 8
Append semicolon after expressions - 912 entries

Some lines need the semicolon, some don't.

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

how fast can you switch two variable ?

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

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 18
  • Position: #107 / 609
  • Number of attempts: 5
The Cake is a Lie - 1168 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 9
  • Position: #196 / 477
  • Number of attempts: 3
Simple text editing with Vim - 11354 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 / 3335
  • Number of attempts: 7
Hrvoje Kopinc
Twitter:

entered into 13 challenges

contributed 0 challenges