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

Swap values - 4600 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Position: #85 / 1264
  • Number of attempts: 6
One number per line - 18705 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #53 / 3855
  • Number of attempts: 8
V to the i - 4796 entries

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

  • Best score: 7
  • Best player score: 7
  • Position: #282 / 1891
  • Number of attempts: 3
Split line with dots - 2144 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 15
  • Position: #62 / 634
  • Number of attempts: 6
Copy three lines - 2872 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #5 / 640
  • Number of attempts: 4
Just the middle - 11417 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #446 / 4181
  • Number of attempts: 2
Basic renumbering - 5643 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 20
  • Position: #791 / 1261
  • Number of attempts: 5
Wrap text in quotes - 368 entries

All the blocks of text should be wrapped in quotation marks.

  • Best score: 16
  • Best player score: 16
  • Position: #15 / 122
  • Number of attempts: 4
Vice versa - 7891 entries

Little role switching.

  • Best score: 12
  • Best player score: 17
  • Position: #1482 / 2121
  • Number of attempts: 1
Generate a list of numbers - 294 entries

Please generate list of numbers from 1 to 20.

  • Best score: 14
  • Best player score: 14
  • Position: #21 / 139
  • Number of attempts: 2
Collect List - 4298 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Position: #104 / 1190
  • Number of attempts: 8
I forgot quotes - 15954 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #276 / 4170
  • Number of attempts: 7
A HAPPY NEW YEAR 2014 ! - 10654 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #818 / 3678
  • Number of attempts: 4
LordFoom
Twitter:

I will return in darkness, and be seen.

entered into 13 challenges

contributed 0 challenges