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

The name of the game - 665 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Position: #37 / 360
  • Number of attempts: 2
SFD-ROC: vimvimvim - 1606 entries

Oh no, this line is longer than 80 chars... put each 'vim' on a new line.

  • Best score: 8
  • Best player score: 14
  • Position: #326 / 446
  • Number of attempts: 1
SFD-ROC: ROT13 Phonics - 101 entries

A is for apple, b is for ball, etc... This familiar phonics poem has been rotated 13 characters. Make the letter match the word.

  • Best score: 6
  • Best player score: 6
  • Position: #26 / 73
  • Number of attempts: 2
you're stuck on jQuery < 1.7 - 362 entries

replace calls to jQuery 1.7+'s `on` with calls to pre 1.7 `bind`

  • Best score: 25
  • Best player score: 26
  • Position: #19 / 113
  • Number of attempts: 5
replacing each line of a block selection - 2987 entries

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

  • Best score: 18
  • Best player score: 21
  • Position: #332 / 774
  • Number of attempts: 6
Switch function arguments - 2117 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 13
  • Position: #339 / 657
  • Number of attempts: 2
Remove noise from HTTP log - 717 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: 16
  • Position: #152 / 273
  • Number of attempts: 2
constructor - 182 entries

coding a constructor for a simple class

  • Best score: 59
  • Best player score: 108
  • Position: #39 / 60
  • Number of attempts: 2
switch variable - 5061 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 13
  • Position: #1039 / 1743
  • Number of attempts: 3
Replacing some words - 425 entries

How fast could it be?

  • Best score: 17
  • Best player score: 19
  • Position: #41 / 150
  • Number of attempts: 5
Make it more readable - 1982 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 15
  • Position: #229 / 645
  • Number of attempts: 2
Line Zipper - 471 entries

Zip/pair related lines.

  • Best score: 12
  • Best player score: 16
  • Position: #163 / 213
  • Number of attempts: 2
Case preserving word replacement - 454 entries

Half way through my project, my people turned into dogs. Now I have to change everything in my source.

  • Best score: 19
  • Best player score: 26
  • Position: #164 / 180
  • Number of attempts: 1
Radek
Twitter:

Was it a bullet my son, or it was just a breaking heart?

entered into 13 challenges

contributed 0 challenges