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

Transpose a python matrix - 645 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 56
  • Position: #67 / 113
  • Number of attempts: 1
Lowercase first characters - 396 entries

This is the (abridged) input for Day 3 in Advent of Code 2019. The output is a format more suitable for Prolog programming: the two lines of input become two lists of pairs, joined together in a wires functor.

  • Best score: 33
  • Best player score: 43
  • Position: #88 / 143
  • Number of attempts: 1
Turn the x - 263 entries

Turn the x to a +

  • Best score: 19
  • Best player score: 19
  • Position: #9 / 68
  • Number of attempts: 7
Levenshtein distance - 85 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 / 29
  • Number of attempts: 4
Max Mossberg
Twitter:

entered into 4 challenges

contributed 0 challenges