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

Saving the hashes(#) - 1709 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
Basic renumbering - 4511 entries

Renumbering Basic.

  • Best score: 2
  • Best player score: 14
  • Number of attempts: 10
I forgot quotes - 11374 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 5
Numbering a List - 1719 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 18
  • Number of attempts: 5
That hyphen - 2125 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 5
The Cake is a Lie - 1111 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 3
Simple text editing with Vim - 10277 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
Words in parens - 10849 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 8
Where should I put the Newline? - 788 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
switch variable - 4246 entries

how fast can you switch two variable ?

  • Best score: 3
  • Best player score: 11
  • Number of attempts: 4
Search and Replace 0 - 4021 entries

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

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 5
Append semicolon after expressions - 843 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 9380 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 3
Hrvoje Kopinc
Twitter:

entered into 13 challenges

contributed 0 challenges