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

Well, swap the values...

  • Best score: 6
  • Best player score: 13
  • Position: #587 / 1294
  • Number of attempts: 1
V to the i - 4890 entries

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

  • Best score: 7
  • Best player score: 7
  • Position: #475 / 1917
  • Number of attempts: 2
Copy three lines - 2923 entries

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

  • Best score: 10
  • Best player score: 15
  • Position: #223 / 647
  • Number of attempts: 4
Format java properties - 106 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
  • Position: #25 / 39
  • Number of attempts: 1
Basic renumbering - 5735 entries

Renumbering Basic.

  • Best score: 7
  • Best player score: 11
  • Position: #65 / 1282
  • Number of attempts: 1
Vice versa - 8021 entries

Little role switching.

  • Best score: 12
  • Best player score: 13
  • Position: #780 / 2158
  • Number of attempts: 3
Collect List - 4342 entries

Convert to comma separated list.

  • Best score: 7
  • Best player score: 12
  • Position: #297 / 1200
  • Number of attempts: 3
-a-b-c- - 3243 entries

Put hyphens everywhere.

  • Best score: 6
  • Best player score: 16
  • Position: #839 / 1148
  • Number of attempts: 2
Words in parens - 13063 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1598 / 3995
  • Number of attempts: 1
Roland TheFreak
Twitter:

entered into 9 challenges

contributed 0 challenges