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

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Position: #13 / 1293
  • Number of attempts: 6
That hyphen - 2646 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 14
  • Position: #579 / 711
  • Number of attempts: 2
Just the middle - 11616 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2141 / 4255
  • Number of attempts: 6
Vice versa - 8019 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #161 / 2157
  • Number of attempts: 7
Free hyphen! - 199 entries

Just like "Inner hyphens", but I'm giving you a free hyphen to play with. Will your solution be any different?

  • Best score: 9
  • Best player score: 11
  • Position: #50 / 97
  • Number of attempts: 3
Inner hyphens - 155 entries

Yet another hyphen challenge. Adding 5 hyphens to a file shouldn't be too hard.

  • Best score: 11
  • Best player score: 12
  • Position: #27 / 90
  • Number of attempts: 1
Replace and keep the case - 471 entries

Replace all instance of plugin and Plugin to device and Device.

  • Best score: 26
  • Best player score: 31
  • Position: #90 / 123
  • Number of attempts: 2
camel riding - 815 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 16
  • Position: #122 / 284
  • Number of attempts: 3
Don't know what this is - 2066 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 14
  • Position: #351 / 594
  • Number of attempts: 3
switch variable - 5128 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #405 / 1764
  • Number of attempts: 5
The Cake is a Lie - 1416 entries

Correct the capitalization of each word

  • Best score: 8
  • Best player score: 11
  • Position: #461 / 542
  • Number of attempts: 3
M S
Twitter:

entered into 11 challenges

contributed 0 challenges