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

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

  • Best score: 18
  • Best player score: 21
  • Position: #304 / 732
  • Number of attempts: 3
Multiplication table. - 195 entries

Create a multiplication table.

  • Best score: 31
  • Best player score: 75
  • Position: #34 / 63
  • Number of attempts: 2
Make it more readable - 1891 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 15
  • Position: #214 / 622
  • Number of attempts: 4
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: 22
  • Position: #119 / 175
  • Number of attempts: 2
Shebangs for all - 1771 entries

We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.

  • Best score: 11
  • Best player score: 13
  • Position: #175 / 467
  • Number of attempts: 5
Reverse Simple Deletion - 759 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #215 / 429
  • Number of attempts: 3
Increment, increment, increment.... - 568 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #200 / 371
  • Number of attempts: 3
The Cake is a Lie - 1203 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 10
  • Position: #316 / 488
  • Number of attempts: 1
Fix the Haiku - 261 entries

Change this slightly scrambled haiku to its unscrambled form and fix the capitalisation and punctuation along the way.

  • Best score: 28
  • Best player score: 38
  • Position: #36 / 105
  • Number of attempts: 4
Compile C - 319 entries

You might have to get clever to do this one.

  • Best score: 19
  • Best player score: 21
  • Position: #48 / 123
  • Number of attempts: 1
arno renevier
Twitter:

entered into 10 challenges

contributed 0 challenges