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

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

  • Best score: 7
  • Best player score: 7
  • Position: #84 / 1846
  • Number of attempts: 3
Search and Replace 0 - 4583 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #350 / 1518
  • Number of attempts: 6
camel riding - 737 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 15
  • Position: #18 / 264
  • Number of attempts: 5
-a-b-c- - 3081 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #444 / 1100
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10513 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #474 / 3629
  • Number of attempts: 3
Words in parens - 12690 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #421 / 3906
  • Number of attempts: 4
switch variable - 4871 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #327 / 1692
  • Number of attempts: 5
Simple text editing with Vim - 11431 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #295 / 3357
  • Number of attempts: 8
Reformat/Refactor a Golfer Class - 5864 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 42
  • Position: #880 / 1449
  • Number of attempts: 3
Giovanni Garufi
Twitter:

entered into 9 challenges

contributed 0 challenges