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

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

  • Best score: 7
  • Best player score: 8
  • Position: #951 / 1916
  • Number of attempts: 5
Search and Replace 0 - 5167 entries

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

  • Best score: 12
  • Best player score: 13
  • Position: #848 / 1677
  • Number of attempts: 3
That hyphen - 2649 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 12
  • Position: #417 / 712
  • Number of attempts: 3
Just the middle - 11630 entries

Delete the instructions at the top and bottom.

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

Renumbering Basic.

  • Best score: 11
  • Best player score: 23
  • Position: #993 / 1281
  • Number of attempts: 3
VimGolfNight - 604 entries

Based on "The name of the game".

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

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

  • Best score: 21
  • Best player score: 44
  • Position: #55 / 59
  • Number of attempts: 1
learn vim in short time - 248 entries

so happy to learn vim.because vim is awesome

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

Put hyphens everywhere.

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

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #1947 / 3717
  • Number of attempts: 4
Words in parens - 13058 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #481 / 3993
  • Number of attempts: 3
replacing each line of a block selection - 3069 entries

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

  • Best score: 18
  • Best player score: 21
  • Position: #394 / 790
  • Number of attempts: 6
Simple text editing with Vim - 13667 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 / 3914
  • Number of attempts: 4
Frederik Vosberg
Twitter:

Coder, drinker, sleeper ...

entered into 13 challenges

contributed 0 challenges