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

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

  • Best score: 7
  • Best player score: 8
  • Position: #914 / 1840
  • Number of attempts: 5
Search and Replace 0 - 4575 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 13
  • Position: #752 / 1515
  • Number of attempts: 3
That hyphen - 2464 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 12
  • Position: #394 / 674
  • Number of attempts: 3
Just the middle - 11079 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #12 / 4090
  • Number of attempts: 3
Basic renumbering - 5395 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 23
  • Position: #940 / 1219
  • Number of attempts: 3
VimGolfNight - 482 entries

Based on "The name of the game".

  • Best score: 12
  • Best player score: 12
  • Position: #201 / 322
  • Number of attempts: 1
Test everything! - 136 entries

... and build the desired input data structure. Transform a list of values into a non-trivial format.

  • Best score: 22
  • Best player score: 44
  • Position: #44 / 47
  • Number of attempts: 1
learn vim in short time - 212 entries

so happy to learn vim.because vim is awesome

  • Best score: 8
  • Best player score: 8
  • Position: #49 / 144
  • Number of attempts: 1
-a-b-c- - 3077 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Position: #50 / 1099
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10511 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #1896 / 3628
  • Number of attempts: 4
Words in parens - 12682 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #451 / 3905
  • Number of attempts: 3
replacing each line of a block selection - 2740 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 21
  • Position: #361 / 724
  • Number of attempts: 6
Simple text editing with Vim - 11391 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #313 / 3347
  • Number of attempts: 4
Frederik Vosberg
Twitter:

Coder, drinker, sleeper ...

entered into 13 challenges

contributed 0 challenges