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

Contribute to keyboard mashing - 155 entries

Speak in tongues

  • Best score: 17
  • Best player score: 22
  • Position: #38 / 50
  • Number of attempts: 1
Fill in the chess board - 196 entries

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

  • Best score: 19
  • Best player score: 35
  • Position: #22 / 45
  • Number of attempts: 2
Learn to ask for :help - 182 entries

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

  • Best score: 19
  • Best player score: 21
  • Position: #8 / 44
  • Number of attempts: 6
Plotting some variables in python - 574 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: 55
  • Position: #68 / 117
  • Number of attempts: 1
Transpose a python matrix - 324 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 66
  • Position: #50 / 64
  • Number of attempts: 1
Create a diamond comment - 134 entries

Encapsulate the text in a diamond pattern.

  • Best score: 27
  • Best player score: 30
  • Position: #17 / 37
  • Number of attempts: 6
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: 42
  • Position: #43 / 71
  • Number of attempts: 2
Migrated to Postgres! - 147 entries

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

  • Best score: 26
  • Best player score: 26
  • Position: #5 / 62
  • 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: 89
  • Position: #35 / 36
  • Number of attempts: 1
simple replacements - 674 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 23
  • Position: #88 / 157
  • Number of attempts: 2
Inverting Lines - 978 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 10
  • Position: #105 / 268
  • Number of attempts: 5
CSV to MD format - 190 entries

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 103
  • Position: #41 / 49
  • Number of attempts: 2
Generate a very basic Python constructor - 172 entries

I actually needed to do this myself, so I look forward to learning how.

  • Best score: 38
  • Best player score: 60
  • Position: #37 / 47
  • Number of attempts: 2
RUST Cargo.toml version to last - 189 entries

RUST Cargo.toml version to last. rusty practice on vimgolf

  • Best score: 16
  • Best player score: 17
  • Position: #35 / 58
  • Number of attempts: 5
Staircase - 17 entries

Going downstairs, while singing the alphabet song. Some vb practice to us all. Would it be much easier to make it go from left to right instead?

  • Best score: 21
  • Best player score: 49
  • Position: #11 / 11
  • Number of attempts: 1
snowflake fractal - 37 entries

From step 0 to step 3 of a fractal

  • Best score: 26
  • Best player score: 180
  • Position: #14 / 16
  • Number of attempts: 1
Whitespace, empty lines and tabs - 2797 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 32
  • Position: #479 / 638
  • Number of attempts: 1
Flodder-challenge - 846 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 35
  • Position: #125 / 260
  • Number of attempts: 1
Simple text editing with Vim - 11433 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1825 / 3358
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 5864 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 50
  • Position: #1226 / 1449
  • Number of attempts: 1
e1mnos
Twitter:

entered into 20 challenges

contributed 0 challenges