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

Words in parens - 11695 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 8
Simple text editing with Vim - 10832 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
V to the i - 4223 entries

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

  • Best score: 7
  • Best player score: 9
  • Number of attempts: 4
quotes inside quotes - 2885 entries

taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 6
I forgot quotes - 13485 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 12
Search and Replace 0 - 4350 entries

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

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 14
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: 27
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 9915 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 10
Dorian Scheidt
Twitter:

Developer at @infoactive, Musician, Recording Engineer, Community Radio Organizer, Media+Economics Nerd.

entered into 8 challenges

contributed 0 challenges