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

V to the i - 4860 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1333 / 1910
  • Number of attempts: 1
Team names - 1858 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 16
  • Position: #148 / 594
  • Number of attempts: 6
Vice versa - 8011 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1357 / 2153
  • Number of attempts: 1
Scrambled numbers - 829 entries

Four is NOT 1. One is 1.

  • Best score: 18
  • Best player score: 18
  • Position: #36 / 186
  • Number of attempts: 5
-a-b-c- - 3233 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Position: #235 / 1143
  • Number of attempts: 6
Switch function arguments - 2197 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 11
  • Position: #153 / 679
  • Number of attempts: 4
Simple text editing with Vim - 13526 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Position: #1710 / 3879
  • Number of attempts: 4
Tommaso Laurenzi
Twitter:

entered into 7 challenges

contributed 0 challenges