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

I forgot quotes - 15536 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 5
Basic renumbering - 5386 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 10
That hyphen - 2452 entries

"vim vi improved"

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

Help me put the newline.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10484 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 3
Words in parens - 12628 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 8
Saving the hashes(#) - 1908 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
  • Number of attempts: 8
Append semicolon after expressions - 899 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 3
switch variable - 4850 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 4
Numbering a List - 1772 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 18
  • Number of attempts: 5
The Cake is a Lie - 1168 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 3
Search and Replace 0 - 4508 entries

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

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 5
Simple text editing with Vim - 11292 entries

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

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 7
Hrvoje Kopinc
Twitter:

entered into 13 challenges

contributed 0 challenges