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

Well, swap the values...

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

Just give me the numbers.

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

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

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

This line is too long, split it.

  • Best score: 15
  • Best player score: 15
  • Position: #62 / 635
  • Number of attempts: 6
Copy three lines - 2875 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 / 641
  • Number of attempts: 4
Just the middle - 11497 entries

Delete the instructions at the top and bottom.

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

Renumbering Basic.

  • Best score: 11
  • Best player score: 20
  • Position: #798 / 1270
  • 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 - 7967 entries

Little role switching.

  • Best score: 12
  • Best player score: 17
  • Position: #1497 / 2144
  • Number of attempts: 1
Generate a list of numbers - 299 entries

Please generate list of numbers from 1 to 20.

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

Convert to comma separated list.

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

Oops.

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

A HAPPY NEW YEAR 2014 !

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

I will return in darkness, and be seen.

entered into 13 challenges

contributed 0 challenges