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

Box it - 7276 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 31
  • Number of attempts: 2
Applying same text modification in several lines - 2623 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 5
Missing Library and a Typo - 790 entries

I forgot to add a c library, please add it for me. Also I'm bad at typing so fix my typo too.

  • Best score: 15
  • Best player score: 22
  • Number of attempts: 1
Fiddle percentages into real numbers - 767 entries

Get rid of the '%' symbols and shift the decimal place. This is the easier version - all the columns line up.

  • Best score: 13
  • Best player score: 21
  • Number of attempts: 1
Every other line - 2718 entries

AaAaAaA

  • Best score: 12
  • Best player score: 22
  • Number of attempts: 1
Just the middle - 10913 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 11
  • Number of attempts: 1
I forgot quotes - 15283 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Number of attempts: 1
-a-b-c- - 3008 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 2
Extract argument from function - 2146 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 17
  • Number of attempts: 1
Words in parens - 12475 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 3
Saving the hashes(#) - 1889 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: 30
  • Number of attempts: 1
Switch function arguments - 1905 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 16
  • Number of attempts: 1
Mike C
Twitter:

Software Engineer, Gamer, Aspiring Author

entered into 12 challenges

contributed 0 challenges