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

Every other line - 2945 entries

AaAaAaA

  • Best score: 12
  • Best player score: 18
  • Position: #567 / 710
  • Number of attempts: 1
Extract argument from function - 2401 entries

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

  • Best score: 13
  • Best player score: 16
  • Position: #547 / 768
  • Number of attempts: 1
Number Sort - 322 entries

sort the list of newline-separated numbers incrementally. Numbers are in the range 1 to 1000, with 500 missing

  • Best score: 9
  • Best player score: 9
  • Position: #38 / 172
  • Number of attempts: 1
-a-b-c- - 3240 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Position: #851 / 1146
  • Number of attempts: 3
switch variable - 5121 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 14
  • Position: #1437 / 1762
  • Number of attempts: 1
Simple text editing with Vim - 13576 entries

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

  • Best score: 13
  • Best player score: 16
  • Position: #2386 / 3892
  • Number of attempts: 1
Jonathan Ambrose
Twitter:

entered into 6 challenges

contributed 0 challenges