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

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 56
  • Position: #38 / 63
  • Number of attempts: 1
Lowercase first characters - 185 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: #47 / 70
  • Number of attempts: 1
Turn the x - 174 entries

Turn the x to a +

  • Best score: 19
  • Best player score: 19
  • Position: #9 / 48
  • Number of attempts: 7
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: 33
  • Position: #12 / 25
  • Number of attempts: 4
Max Mossberg
Twitter:

entered into 4 challenges

contributed 0 challenges