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

Levenshtein distance - 70 entries

Compute distance for each pair. Notice that this recursive implementation is very inefficient. Wagner-Fischer algorithm is iterative and much faster. #vimscript

  • Best score: 28
  • Best player score: 44
  • Position: #24 / 25
  • Number of attempts: 2
Simple, Practical, and Common - 32778 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 22
  • Position: #1289 / 7242
  • Number of attempts: 8
One number per line - 18295 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #400 / 3770
  • Number of attempts: 8
Box it - 7661 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 34
  • Position: #1533 / 1830
  • Number of attempts: 6
Team names - 1766 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 16
  • Position: #121 / 566
  • Number of attempts: 3
I forgot quotes - 15668 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #717 / 4099
  • Number of attempts: 7
chriskuck
Twitter:

entered into 6 challenges

contributed 0 challenges