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

Seperate named with equal tabs.

  • Best score: 19
  • Best player score: 33
  • Position: #45 / 51
  • Number of attempts: 2
readability - 298 entries

Make the code readable by adding some spaces

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

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

  • Best score: 22
  • Best player score: 34
  • Position: #30 / 47
  • Number of attempts: 2
attr_aligner - 3347 entries

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

  • Best score: 19
  • Best player score: 28
  • Position: #289 / 677
  • Number of attempts: 1
quotes inside quotes - 2996 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: 3
  • Best player score: 17
  • Position: #697 / 1037
  • Number of attempts: 1
Words in parens - 12678 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #1923 / 3904
  • Number of attempts: 2
The Quick Brown Fox Jumps Over The Lazy Vim - 356 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: 10
  • Best player score: 10
  • Position: #55 / 173
  • Number of attempts: 2
Reverse characters in a line - 613 entries

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

  • Best score: 12
  • Best player score: 15
  • Position: #117 / 225
  • Number of attempts: 2
Simple text editing with Vim - 11354 entries

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

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

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

entered into 9 challenges

contributed 0 challenges