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

Format java properties - 63 entries

Format java properties to a different format. The value which is the string following the first '=' cannot & should not change. All periods in the key get replaced with an underscore "_" and get a prefix of "b_".

  • Best score: 27
  • Best player score: 35
  • Number of attempts: 1
Words in parens - 10930 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 1
V to the i - 3854 entries

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

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
Copy three lines - 1988 entries

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

  • Best score: 13
  • Best player score: 15
  • Number of attempts: 4
Swap values - 3483 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 13
  • Number of attempts: 1
Vice versa - 5866 entries

Little role switching.

  • Best score: 2
  • Best player score: 13
  • Number of attempts: 3
-a-b-c- - 2544 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 2
Basic renumbering - 4564 entries

Renumbering Basic.

  • Best score: 2
  • Best player score: 11
  • Number of attempts: 1
Collect List - 3433 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 3
Roland TheFreak
Twitter:

entered into 9 challenges

contributed 0 challenges