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

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Position: #37 / 343
  • Number of attempts: 2
SFD-ROC: vimvimvim - 1508 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: #312 / 424
  • Number of attempts: 1
SFD-ROC: ROT13 Phonics - 79 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 / 64
  • Number of attempts: 2
you're stuck on jQuery < 1.7 - 330 entries

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

  • Best score: 25
  • Best player score: 26
  • Position: #18 / 107
  • Number of attempts: 5
replacing each line of a block selection - 2791 entries

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

  • Best score: 18
  • Best player score: 21
  • Position: #313 / 732
  • Number of attempts: 6
Switch function arguments - 1982 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 13
  • Position: #319 / 627
  • Number of attempts: 2
Remove noise from HTTP log - 660 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: #144 / 260
  • Number of attempts: 2
constructor - 165 entries

coding a constructor for a simple class

  • Best score: 59
  • Best player score: 108
  • Position: #37 / 56
  • Number of attempts: 2
switch variable - 4917 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 13
  • Position: #1015 / 1701
  • Number of attempts: 3
Replacing some words - 412 entries

How fast could it be?

  • Best score: 17
  • Best player score: 19
  • Position: #39 / 145
  • Number of attempts: 5
Make it more readable - 1891 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 15
  • Position: #218 / 622
  • Number of attempts: 2
Line Zipper - 443 entries

Zip/pair related lines.

  • Best score: 12
  • Best player score: 16
  • Position: #159 / 206
  • Number of attempts: 2
Case preserving word replacement - 436 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: #159 / 175
  • 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