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

Basic renumbering - 5004 entries

Renumbering Basic.

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

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 3
Words in parens - 11783 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 1
Just the middle - 10076 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
V to the i - 4250 entries

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

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
Delete to the end of the current line - 619 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 3
Happy TvvO - 364 entries

Don’t forget the past, learn from it. Happy New Year.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 3
That hyphen - 2312 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 11
  • Number of attempts: 3
Add semicolons - 6725 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 6
-a-b-c- - 2813 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 4
Search and Replace 0 - 4383 entries

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

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 4
I forgot quotes - 13700 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Number of attempts: 2
Ilari Mäkelä
Twitter:

entered into 12 challenges

contributed 0 challenges