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

replacing each line of a block selection - 3007 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 21
  • Position: #309 / 780
  • Number of attempts: 3
Remove noise from HTTP log - 729 entries

This piece of log (from the year 2000) contains some irrelevant data. We only want to see the HTTP method and resource.

  • Best score: 15
  • Best player score: 22
  • Position: #254 / 276
  • Number of attempts: 2
switch variable - 5094 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 14
  • Position: #1292 / 1754
  • Number of attempts: 4
Replacing some words - 428 entries

How fast could it be?

  • Best score: 17
  • Best player score: 33
  • Position: #118 / 151
  • Number of attempts: 1
Make it more readable - 2009 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 19
  • Position: #551 / 652
  • Number of attempts: 1
remove dupes from array - 1360 entries

given a random string that contains a ruby-esque array, make sure that there are no duplicate elements

  • Best score: 17
  • Best player score: 23
  • Position: #195 / 337
  • Number of attempts: 2
Numbering a List - 1940 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 25
  • Position: #518 / 656
  • Number of attempts: 3
The Cake is a Lie - 1386 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 11
  • Position: #431 / 537
  • Number of attempts: 3
Alan Oliver
Twitter:

Internet and pizza enthusiast. I also program ruby @vzaar

entered into 8 challenges

contributed 0 challenges