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

Search and Replace 0 - 4651 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Position: #155 / 1541
  • Number of attempts: 3
replacing each line of a block selection - 2791 entries

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

  • Best score: 18
  • Best player score: 27
  • Position: #538 / 732
  • Number of attempts: 6
un-C-escape string - 54 entries

Convert escape sequences to characters

  • Best score: 12
  • Best player score: 12
  • Position: #8 / 48
  • Number of attempts: 1
Make it more readable - 1891 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 17
  • Position: #418 / 622
  • Number of attempts: 1
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: 19
  • Position: #39 / 175
  • Number of attempts: 2
imports alignment (python) - 640 entries

Align as one import per line.

  • Best score: 17
  • Best player score: 20
  • Position: #82 / 191
  • Number of attempts: 4
Context insensitive completion 0 - 468 entries

Buried in the lines you're not supposed to add is the line "Add this line!" Add that line to the top of the file.

  • Best score: 7
  • Best player score: 7
  • Position: #63 / 221
  • Number of attempts: 3
Context Insensitive completion 1 - 427 entries

Finish writing this simple Python HTTP server.

  • Best score: 18
  • Best player score: 18
  • Position: #83 / 222
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 6014 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 38
  • Position: #558 / 1481
  • Number of attempts: 7
Michał Wróbel
Twitter:

Life is a series of trade-offs

entered into 9 challenges

contributed 0 challenges