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 - 75 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: 33
  • Position: #13 / 26
  • Number of attempts: 5
One number per line - 18318 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 15
  • Position: #803 / 3774
  • Number of attempts: 8
Prime Numbers - 324 entries

List the first 100 prime numbers.

  • Best score: 34
  • Best player score: 36
  • Position: #8 / 95
  • Number of attempts: 9
V to the i - 4629 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Position: #775 / 1852
  • Number of attempts: 2
Add semicolons - 10480 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #731 / 2972
  • Number of attempts: 2
Generate Fibonacci Numbers - 235 entries

Use your super vim powers to generate Fibonacci Numbers.

  • Best score: 19
  • Best player score: 19
  • Position: #20 / 92
  • Number of attempts: 1
wpr__
Twitter:

entered into 6 challenges

contributed 0 challenges