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

Simple, Practical, and Common - 33647 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 22
  • Position: #169 / 7425
  • Number of attempts: 10
V to the i - 4810 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1086 / 1896
  • Number of attempts: 3
Vice versa - 7922 entries

Little role switching.

  • Best score: 12
  • Best player score: 28
  • Position: #2028 / 2132
  • Number of attempts: 1
Collect List - 4305 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 13
  • Position: #548 / 1191
  • Number of attempts: 4
I forgot quotes - 15997 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #534 / 4184
  • Number of attempts: 9
-a-b-c- - 3216 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 17
  • Position: #942 / 1138
  • Number of attempts: 4
A HAPPY NEW YEAR 2014 ! - 10672 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #826 / 3685
  • Number of attempts: 3
attr_aligner - 3520 entries

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

  • Best score: 19
  • Best player score: 39
  • Position: #624 / 702
  • Number of attempts: 1
Words in parens - 12939 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 19
  • Position: #3092 / 3964
  • Number of attempts: 1
Roger
Twitter:

Rogelio

entered into 9 challenges

contributed 0 challenges