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

Separating firstname & lastname - 183 entries

Seperate named with equal tabs.

  • Best score: 19
  • Best player score: 33
  • Position: #57 / 63
  • Number of attempts: 2
readability - 342 entries

Make the code readable by adding some spaces

  • Best score: 18
  • Best player score: 18
  • Position: #5 / 156
  • Number of attempts: 1
Test everything! - 214 entries

... and build the desired input data structure. Transform a list of values into a non-trivial format.

  • Best score: 21
  • Best player score: 34
  • Position: #40 / 59
  • Number of attempts: 2
attr_aligner - 3568 entries

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

  • Best score: 19
  • Best player score: 28
  • Position: #309 / 711
  • Number of attempts: 1
quotes inside quotes - 3203 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
  • Position: #735 / 1094
  • Number of attempts: 1
Words in parens - 13058 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #1984 / 3993
  • Number of attempts: 2
The Quick Brown Fox Jumps Over The Lazy Vim - 464 entries

Someone has vandalized this text file and replaced the beginning character of one word in each line with a Big "X." Please remove the big X's, and fix each line to read "The Quick Brown Fox Jumps Over The Lazy Dog."

  • Best score: 8
  • Best player score: 10
  • Position: #65 / 201
  • Number of attempts: 2
Reverse characters in a line - 847 entries

You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.

  • Best score: 8
  • Best player score: 15
  • Position: #148 / 284
  • Number of attempts: 2
Simple text editing with Vim - 13667 entries

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

  • Best score: 13
  • Best player score: 15
  • Position: #2161 / 3914
  • Number of attempts: 4
Thameera Senanayaka
Twitter:

Amateur, fourth wave feminist. 1x engineer at @auth0. (he/him)

entered into 9 challenges

contributed 0 challenges