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

Words in parens - 12053 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 3
Split line with dots - 2021 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 6
Collect List - 3912 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 1
One number per line - 16544 entries

Just give me the numbers.

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

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

  • Best score: 19
  • Best player score: 27
  • Number of attempts: 12
Box it - 6265 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 5
Cool or not? - 662 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 18
  • Number of attempts: 3
I forgot quotes - 14449 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 5
Just the middle - 10424 entries

Delete the instructions at the top and bottom.

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

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 7
Copy three lines - 2483 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
Every other line - 2525 entries

AaAaAaA

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 6
Convert Application Output to CSV - 138 entries

Change the application output to comma-separated values

  • Best score: 17
  • Best player score: 17
  • Number of attempts: 4
Basic renumbering - 5136 entries

Renumbering Basic.

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

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

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
remove lines containing the word "reader" - 2902 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 4
-a-b-c- - 2886 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 5
Swap values inside brackets - 2140 entries

Easy challenge.

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

try again!

  • Best score: 23
  • Best player score: 23
  • Number of attempts: 6
eric huang
Twitter:

entered into 19 challenges

contributed 0 challenges