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

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

  • Best score: 7
  • Best player score: 8
  • Position: #1005 / 1842
  • Number of attempts: 2
Just the middle - 11080 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #247 / 4091
  • Number of attempts: 2
Basic renumbering - 5405 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 18
  • Position: #614 / 1220
  • Number of attempts: 5
Shuffled numbers - 203 entries

Each number is paired with the number it should follow. That's enough information to put them in order.

  • Best score: 15
  • Best player score: 16
  • Position: #52 / 85
  • Number of attempts: 1
Mute the second method of this script - 429 entries

prepend a # infront of every line of the second method

  • Best score: 9
  • Best player score: 9
  • Position: #81 / 228
  • Number of attempts: 1
I forgot quotes - 15656 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1518 / 4097
  • Number of attempts: 4
-a-b-c- - 3081 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Position: #92 / 1100
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10511 entries

A HAPPY NEW YEAR 2014 !

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

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1422 / 3905
  • Number of attempts: 3
Prefixes and suffixes - 548 entries

Generate all prefixes of "vimchallenge", then all suffixes.

  • Best score: 17
  • Best player score: 26
  • Position: #83 / 178
  • Number of attempts: 3
e
Twitter:

vim,C++,python,

entered into 10 challenges

contributed 0 challenges