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

One number per line - 18903 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Position: #1207 / 3904
  • Number of attempts: 9
Copy three lines - 2923 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 24
  • Position: #551 / 647
  • Number of attempts: 1
Search and Replace 0 - 5159 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #525 / 1674
  • Number of attempts: 6
That hyphen - 2646 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Position: #183 / 711
  • Number of attempts: 12
I forgot quotes - 16237 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Position: #2652 / 4224
  • Number of attempts: 1
-a-b-c- - 3241 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 14
  • Position: #367 / 1146
  • Number of attempts: 3
Words in parens - 13053 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #888 / 3991
  • Number of attempts: 5
switch variable - 5128 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #503 / 1764
  • Number of attempts: 4
Zach Johnson
Twitter:

entered into 8 challenges

contributed 0 challenges