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

Extract argument from function - 2194 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 14
  • Position: #278 / 723
  • Number of attempts: 4
Do you demand a shrubbery? - 1078 entries

Use :redir and crush the emacsgolfers.

  • Best score: 15
  • Best player score: 27
  • Position: #184 / 286
  • Number of attempts: 1
Where should I put the Newline? - 830 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 8
  • Position: #264 / 415
  • Number of attempts: 1
Shuffle puzzle - 302 entries

Sort the lines in each indent group, and sort the groups. That's the pattern. Or just move lines around manually to get a better score.

  • Best score: 13
  • Best player score: 16
  • Position: #71 / 98
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10511 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #397 / 3628
  • Number of attempts: 4
attr_aligner - 3350 entries

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

  • Best score: 19
  • Best player score: 35
  • Position: #564 / 678
  • 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: #801 / 1037
  • Number of attempts: 1
Words in parens - 12682 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #389 / 3905
  • Number of attempts: 4
switch variable - 4866 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #796 / 1690
  • Number of attempts: 2
Simple text editing with Vim - 11396 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1241 / 3349
  • Number of attempts: 2
Laura Halla
Twitter:

entered into 10 challenges

contributed 0 challenges