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

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Position: #225 / 1291
  • Number of attempts: 14
One number per line - 18889 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #418 / 3898
  • Number of attempts: 19
readability - 331 entries

Make the code readable by adding some spaces

  • Best score: 18
  • Best player score: 18
  • Position: #73 / 153
  • Number of attempts: 8
-a-b-c- - 3233 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Position: #230 / 1143
  • Number of attempts: 8
Reverse characters in a line - 819 entries

You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.

  • Best score: 8
  • Best player score: 12
  • Position: #14 / 276
  • Number of attempts: 17
Iury Adones
Twitter:

entered into 5 challenges

contributed 0 challenges