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

Just the middle - 10834 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
That hyphen - 2411 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 7
I forgot quotes - 15148 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 5
Cool or not? - 698 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 18
  • Number of attempts: 3
Copy three lines - 2621 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 8
Box it - 7118 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 5
remove lines containing the word "reader" - 3218 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 4
Swap values inside brackets - 2313 entries

Easy challenge.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 5
Convert Application Output to CSV - 140 entries

Change the application output to comma-separated values

  • Best score: 17
  • Best player score: 17
  • Number of attempts: 4
Split line with dots - 2043 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 6
Every other line - 2686 entries

AaAaAaA

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 6
Simple format (2) - 256 entries

try again!

  • Best score: 23
  • Best player score: 23
  • Number of attempts: 6
Basic renumbering - 5279 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 5
V to the i - 4508 entries

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

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
One number per line - 17472 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 9
attr_aligner - 3282 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 27
  • Number of attempts: 12
-a-b-c- - 3004 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 5
Words in parens - 12379 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 3
Collect List - 4035 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 1
eric huang
Twitter:

entered into 19 challenges

contributed 0 challenges