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

Don't know what this is - 1872 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
  • Number of attempts: 3
Inner hyphens - 114 entries

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

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 1
switch variable - 4665 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 5
Free hyphen! - 130 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
  • Number of attempts: 3
Swap values - 4199 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 6
Replace and keep the case - 369 entries

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

  • Best score: 26
  • Best player score: 31
  • Number of attempts: 2
Vice versa - 6936 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 7
camel riding - 731 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 16
  • Number of attempts: 3
That hyphen - 2393 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 14
  • Number of attempts: 2
Just the middle - 10464 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 6
The Cake is a Lie - 1166 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 11
  • Number of attempts: 3
M S
Twitter:

entered into 11 challenges

contributed 0 challenges