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

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 56
  • Position: #86 / 134
  • Number of attempts: 1
Lowercase first characters - 467 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: #107 / 175
  • Number of attempts: 1
Turn the x - 297 entries

Turn the x to a +

  • Best score: 19
  • Best player score: 19
  • Position: #9 / 77
  • Number of attempts: 7
Levenshtein distance - 104 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: 27
  • Best player score: 33
  • Position: #16 / 36
  • Number of attempts: 4
Max Mossberg
Twitter:

entered into 4 challenges

contributed 0 challenges