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

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

  • Best score: 12
  • Best player score: 27
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10083 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 2
Make it more readable - 1797 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 21
  • Number of attempts: 2
The name of the game - 594 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 1
Simple text editing with Vim - 11014 entries

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

  • Best score: 13
  • Best player score: 32
  • Number of attempts: 1
Where should I put the Newline? - 824 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
replacing each line of a block selection - 2682 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 29
  • Number of attempts: 2
I forgot quotes - 14294 entries

Oops.

  • Best score: 10
  • Best player score: 19
  • Number of attempts: 2
Saving the hashes(#) - 1861 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: 49
  • Number of attempts: 1
SFD-ROC: vimvimvim - 1337 entries

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

  • Best score: 8
  • Best player score: 15
  • Number of attempts: 3
Two become one - 691 entries

We have two c arrays and want to make one two dimensional out of it. Can we do that?

  • Best score: 25
  • Best player score: 69
  • Number of attempts: 1
Words in parens - 11996 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 28
  • Number of attempts: 4
Alexander Bandukwala
Twitter:

Software Engineer at Springleaf, vim user, Linux fanboy

entered into 12 challenges

contributed 0 challenges