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

That hyphen - 2259 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 17
  • Number of attempts: 2
Basic renumbering - 4854 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 15
  • Number of attempts: 5
-a-b-c- - 2707 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Number of attempts: 2
I forgot quotes - 12845 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 4
Words in parens - 11439 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 3
V to the i - 4150 entries

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

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
Simple text editing with Vim - 10703 entries

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

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 2
Shebangs for all - 1643 entries

We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 9780 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 1
Jens Weggemann
Twitter:

entered into 9 challenges

contributed 0 challenges