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

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

  • Best score: 7
  • Best player score: 9
  • Position: #1574 / 1915
  • Number of attempts: 1
increment by column in XML - 168 entries

modify an arbitrary "column" in an xml table by incrementing a an arbitrary placeholder string

  • Best score: 19
  • Best player score: 20
  • Position: #18 / 58
  • Number of attempts: 7
attr_aligner - 3568 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 36
  • Position: #598 / 711
  • Number of attempts: 1
quotes inside quotes - 3202 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: 21
  • Position: #1022 / 1093
  • Number of attempts: 2
Words in parens - 13054 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #193 / 3991
  • Number of attempts: 4
Simple text editing with Vim - 13645 entries

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

  • Best score: 13
  • Best player score: 35
  • Position: #3668 / 3907
  • Number of attempts: 1
Piotr G.
Twitter:

entered into 6 challenges

contributed 0 challenges