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 - 18831 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Position: #950 / 3889
  • Number of attempts: 9
Swap values inside brackets - 2523 entries

Easy challenge.

  • Best score: 13
  • Best player score: 14
  • Position: #32 / 587
  • Number of attempts: 5
V to the i - 4830 entries

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

  • Best score: 7
  • Best player score: 7
  • Position: #648 / 1903
  • Number of attempts: 2
Split line with dots - 2156 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 15
  • Position: #146 / 636
  • Number of attempts: 6
remove lines containing the word "reader" - 3622 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #178 / 1177
  • Number of attempts: 4
Box it - 7962 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #78 / 1891
  • Number of attempts: 5
Cool or not? - 842 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 18
  • Position: #131 / 233
  • Number of attempts: 3
Every other line - 2925 entries

AaAaAaA

  • Best score: 12
  • Best player score: 12
  • Position: #36 / 707
  • Number of attempts: 6
Copy three lines - 2882 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #125 / 642
  • Number of attempts: 8
Convert Application Output to CSV - 203 entries

Change the application output to comma-separated values

  • Best score: 17
  • Best player score: 17
  • Position: #21 / 56
  • Number of attempts: 4
That hyphen - 2602 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Position: #208 / 704
  • Number of attempts: 7
Just the middle - 11541 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1226 / 4230
  • Number of attempts: 3
Basic renumbering - 5699 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 14
  • Position: #498 / 1273
  • Number of attempts: 5
Simple format (2) - 335 entries

try again!

  • Best score: 23
  • Best player score: 23
  • Position: #10 / 70
  • Number of attempts: 6
Collect List - 4317 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Position: #422 / 1194
  • Number of attempts: 1
I forgot quotes - 16093 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1853 / 4202
  • Number of attempts: 5
-a-b-c- - 3225 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Position: #254 / 1140
  • Number of attempts: 5
attr_aligner - 3525 entries

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

  • Best score: 19
  • Best player score: 27
  • Position: #299 / 706
  • Number of attempts: 12
Words in parens - 12992 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1732 / 3977
  • Number of attempts: 3
eric huang
Twitter:

entered into 19 challenges

contributed 0 challenges