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

One number per line - 18732 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 22
  • Position: #2723 / 3865
  • Number of attempts: 2
Swap values inside brackets - 2496 entries

Easy challenge.

  • Best score: 14
  • Best player score: 45
  • Position: #567 / 579
  • Number of attempts: 1
V to the i - 4806 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Position: #600 / 1894
  • Number of attempts: 3
Applying same text modification in several lines - 2882 entries

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

  • Best score: 12
  • Best player score: 29
  • Position: #784 / 852
  • Number of attempts: 1
Com(m)a Trouble - 3829 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 38
  • Position: #799 / 866
  • Number of attempts: 1
That hyphen - 2595 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 19
  • Position: #669 / 701
  • Number of attempts: 1
SFD-ROC: The Quick Brown Fox - 200 entries

Someone has vandalized our text (again). Please fix to read: The Quick Brown Fox Jumps Over The Lazy Dog.

  • Best score: 24
  • Best player score: 39
  • Position: #105 / 107
  • Number of attempts: 1
Let's play some Ivmgolf - 1118 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 12
  • Position: #405 / 445
  • Number of attempts: 2
Append semicolon after expressions - 1056 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 13
  • Position: #352 / 419
  • Number of attempts: 1
switch variable - 5079 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 13
  • Position: #1223 / 1749
  • Number of attempts: 2
The meaning - 575 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Position: #281 / 363
  • Number of attempts: 2
A Simple One - 1050 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Position: #478 / 664
  • Number of attempts: 2
Increment, increment, increment.... - 688 entries

Vim likes macros

  • Best score: 10
  • Best player score: 10
  • Position: #23 / 408
  • Number of attempts: 2
Make Fancy Header - 1052 entries

Make the header text stand out with surrounding asterisks

  • Best score: 15
  • Best player score: 16
  • Position: #114 / 344
  • Number of attempts: 3
Sort and add attributes - 1454 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 33
  • Position: #211 / 565
  • Number of attempts: 2
Eric Moss
Twitter:

Part-time human being

entered into 15 challenges

contributed 0 challenges