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: 10
  • Position: #1761 / 1910
  • Number of attempts: 2
Extract argument from function - 2399 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 15
  • Position: #429 / 767
  • Number of attempts: 2
-a-b-c- - 3233 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #449 / 1143
  • Number of attempts: 4
Don't know what this is - 2044 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: 16
  • Position: #455 / 591
  • Number of attempts: 3
Where should I put the Newline? - 897 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 8
  • Position: #308 / 445
  • Number of attempts: 1
Words in parens - 13032 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 21
  • Position: #3452 / 3986
  • Number of attempts: 1
switch variable - 5114 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 17
  • Position: #1625 / 1759
  • Number of attempts: 1
Dr4k3
Twitter:

Student; Podcast addicted; Bastle mit bei den @dieshownotes

entered into 7 challenges

contributed 0 challenges