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

Quicksort - 1838 entries

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

  • Best score: 6
  • Best player score: 7
  • Position: #132 / 403
  • Number of attempts: 6
Paste a column after a column - 2477 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 14
  • Best player score: 14
  • Position: #87 / 535
  • Number of attempts: 7
HS exam question - 1539 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 54
  • Position: #72 / 410
  • Number of attempts: 9
Visual block training - 1069 entries

You see the input. You see the output. Go.

  • Best score: 17
  • Best player score: 29
  • Position: #86 / 203
  • Number of attempts: 5
Whitespace, empty lines and tabs - 3559 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 17
  • Position: #162 / 768
  • Number of attempts: 9
Simple text editing with Vim - 12616 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1962 / 3650
  • Number of attempts: 5
Reformat/Refactor a Golfer Class - 6821 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 28
  • Best player score: 39
  • Position: #763 / 1671
  • Number of attempts: 5
ye-chuan
Github:

entered into 7 challenges

contributed 0 challenges