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

Yo To Hello - 1144 entries

Simply Turn Yo To Hello

  • Best score: 8
  • Best player score: 11
  • Position: #434 / 530
  • Number of attempts: 1
Replace pattern with 1, 2, 3, ... on each line - 1150 entries

For each line replace a search pattern (in this case $) with numbers starting at 1 and then increasing by 1 for each replaced match. a$b$c$ -> a0b1c2

  • Best score: 21
  • Best player score: 27
  • Position: #113 / 232
  • Number of attempts: 6
Add semicolons - 10887 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1585 / 3074
  • Number of attempts: 3
Wrap the text of an email message to 79 characters - 800 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 5
  • Position: #254 / 422
  • Number of attempts: 3
Reorder the groups - 1182 entries

Change the order so that the groups of fruit come before the vegetables.

  • Best score: 14
  • Best player score: 14
  • Position: #76 / 265
  • Number of attempts: 10
Collect List - 4308 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Position: #494 / 1192
  • Number of attempts: 5
grubeb
Twitter:

entered into 6 challenges

contributed 0 challenges