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

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

  • Best score: 7
  • Best player score: 8
  • Position: #886 / 1857
  • Number of attempts: 2
Search and Replace 0 - 4681 entries

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

  • Best score: 12
  • Best player score: 14
  • Position: #938 / 1550
  • Number of attempts: 3
That hyphen - 2507 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 29
  • Position: #679 / 684
  • Number of attempts: 2
-a-b-c- - 3122 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #470 / 1113
  • Number of attempts: 2
Count both ways - 962 entries

Right AND down.

  • Best score: 13
  • Best player score: 16
  • Position: #162 / 342
  • Number of attempts: 2
Change name of a variable - 163 entries

Replace the name of the $variable with the fastest move possible. The challenge is having a command that allow you to easily change the variable name even if its indented.

  • Best score: 9
  • Best player score: 9
  • Position: #76 / 127
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10538 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 15
  • Position: #2953 / 3638
  • Number of attempts: 1
Letter case trickery - 1553 entries

This file is in a downright esoteric format, consisting of hexadecimal numbers, non-hexadecimal keywords, and "Z" indicating end-of-line. Make the hexadecimal numbers lowercase.

  • Best score: 9
  • Best player score: 14
  • Position: #422 / 500
  • Number of attempts: 1
Words in parens - 12736 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2128 / 3919
  • Number of attempts: 3
SFD-ROC: vimvimvim - 1510 entries

Oh no, this line is longer than 80 chars... put each 'vim' on a new line.

  • Best score: 8
  • Best player score: 14
  • Position: #352 / 424
  • Number of attempts: 1
replacing each line of a block selection - 2824 entries

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

  • Best score: 18
  • Best player score: 30
  • Position: #625 / 738
  • Number of attempts: 2
Numbering a List - 1832 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 25
  • Position: #519 / 627
  • Number of attempts: 2
Violette Vanadium
Twitter:

entered into 12 challenges

contributed 0 challenges