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 - 605 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 / 127
  • Number of attempts: 11
Learn to ask for :help - 428 entries

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

  • Best score: 19
  • Best player score: 21
  • Position: #10 / 96
  • Number of attempts: 8
Plotting some variables in python - 1233 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 / 258
  • Number of attempts: 9
Transpose a python matrix - 608 entries

Rotate the matrix in 90 degrees.

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

Encapsulate the text in a diamond pattern.

  • Best score: 27
  • Best player score: 28
  • Position: #16 / 57
  • Number of attempts: 7
Lowercase first characters - 370 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: #34 / 133
  • Number of attempts: 8
Make list of numbers from 1 to 30 more compact, but more confusing - 76 entries

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

  • Best score: 75
  • Best player score: 87
  • Position: #4 / 29
  • Number of attempts: 5
Migrated to Postgres! - 219 entries

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

  • Best score: 26
  • Best player score: 26
  • Position: #6 / 88
  • Number of attempts: 4
Increment number for every 10 lines - 161 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: #15 / 47
  • Number of attempts: 7
Simple text editing with Vim - 11705 entries

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

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

Studying in UEH Vietnam

entered into 10 challenges

contributed 0 challenges