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

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

  • Best score: 13
  • Best player score: 14
  • Position: #302 / 767
  • Number of attempts: 4
Do you demand a shrubbery? - 1185 entries

Use :redir and crush the emacsgolfers.

  • Best score: 15
  • Best player score: 27
  • Position: #195 / 306
  • Number of attempts: 1
Where should I put the Newline? - 897 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 8
  • Position: #276 / 445
  • Number of attempts: 1
Shuffle puzzle - 361 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: #78 / 106
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10748 entries

A HAPPY NEW YEAR 2014 !

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

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

  • Best score: 19
  • Best player score: 35
  • Position: #588 / 709
  • Number of attempts: 1
quotes inside quotes - 3200 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: #836 / 1091
  • Number of attempts: 1
Words in parens - 13032 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #417 / 3986
  • Number of attempts: 4
switch variable - 5114 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #831 / 1759
  • Number of attempts: 2
Simple text editing with Vim - 13526 entries

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

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

entered into 10 challenges

contributed 0 challenges