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

Fill in the chess board - 190 entries

Fill in the name of each square using its file (a-h) and rank (1-8).

  • Best score: 19
  • Best player score: 19
  • Position: #3 / 42
  • Number of attempts: 11
Learn to ask for :help - 180 entries

Learn to use the help to reduce your strokes...

  • Best score: 19
  • Best player score: 21
  • Position: #10 / 42
  • Number of attempts: 8
Plotting some variables in python - 569 entries

4 sets of (x,y) variables to plot. Just increment the numbers! Well, let's change the colors of the lines as well. Oh and we meant to plot the absolute values of course.

  • Best score: 34
  • Best player score: 34
  • Position: #22 / 115
  • Number of attempts: 9
Transpose a python matrix - 323 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 23
  • Position: #10 / 63
  • Number of attempts: 13
Create a diamond comment - 133 entries

Encapsulate the text in a diamond pattern.

  • Best score: 27
  • Best player score: 28
  • Position: #12 / 36
  • Number of attempts: 7
Lowercase first characters - 186 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: 34
  • Position: #19 / 71
  • Number of attempts: 8
Make list of numbers from 1 to 30 more compact, but more confusing - 61 entries

Change the naming logic of numbers to end up with less lines.

  • Best score: 77
  • Best player score: 87
  • Position: #3 / 22
  • Number of attempts: 5
Migrated to Postgres! - 145 entries

Celebration completion of this project. https://github.com/igrigorik/vimgolf/pull/322

  • Best score: 26
  • Best player score: 26
  • Position: #6 / 61
  • Number of attempts: 4
Increment number for every 10 lines - 118 entries

The file consists of 2 columns (code and percentage). We need to add 2 more columns with increasing number for 4th column (Xcols) and increment 3rd column (Ycols) only for every 10 lines with reset of 4th column

  • Best score: 25
  • Best player score: 26
  • Position: #14 / 36
  • Number of attempts: 7
Simple text editing with Vim - 11431 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Position: #1826 / 3357
  • Number of attempts: 4
Trần Chí Thiện
Twitter:

Studying in UEH Vietnam

entered into 10 challenges

contributed 0 challenges