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

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Position: #921 / 3793
  • Number of attempts: 9
Swap values inside brackets - 2433 entries

Easy challenge.

  • Best score: 14
  • Best player score: 14
  • Position: #31 / 561
  • Number of attempts: 5
V to the i - 4641 entries

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

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

This line is too long, split it.

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

easy stuff

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

Create a box around a line.

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

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 18
  • Position: #122 / 216
  • Number of attempts: 3
Every other line - 2829 entries

AaAaAaA

  • Best score: 12
  • Best player score: 12
  • Position: #36 / 686
  • Number of attempts: 6
Copy three lines - 2801 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 / 625
  • Number of attempts: 8
Convert Application Output to CSV - 180 entries

Change the application output to comma-separated values

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

"vim vi improved"

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

Delete the instructions at the top and bottom.

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

Renumbering Basic.

  • Best score: 11
  • Best player score: 14
  • Position: #473 / 1228
  • Number of attempts: 5
Simple format (2) - 306 entries

try again!

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

Convert to comma separated list.

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

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1824 / 4116
  • Number of attempts: 5
-a-b-c- - 3118 entries

Put hyphens everywhere.

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

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

  • Best score: 19
  • Best player score: 27
  • Position: #287 / 685
  • Number of attempts: 12
Words in parens - 12736 entries

We should all ace this, right?

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

entered into 19 challenges

contributed 0 challenges