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

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

  • Best score: 19
  • Best player score: 106
  • Position: #168 / 185
  • Number of attempts: 1
Plotting some variables in python - 1673 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: 41
  • Position: #131 / 350
  • Number of attempts: 8
Satisfy the go linter - 2468 entries

You just came up with this briliant go vars package. But dang, you forgot to add comments to the exported variables. Can you add a comment over each variable with a TODO-placeholder?

  • Best score: 20
  • Best player score: 20
  • Position: #70 / 491
  • Number of attempts: 24
Simple, Practical, and Common - 33866 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 22
  • Position: #2003 / 7474
  • Number of attempts: 16
Swap values - 4661 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Position: #266 / 1282
  • Number of attempts: 6
prepend * to every non-blank line - 6366 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 10
  • Position: #331 / 1555
  • Number of attempts: 12
One number per line - 18831 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #702 / 3889
  • Number of attempts: 11
V to the i - 4830 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Position: #645 / 1903
  • Number of attempts: 6
Add semicolons - 10916 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #650 / 3085
  • Number of attempts: 10
Box it - 7962 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 23
  • Position: #787 / 1891
  • Number of attempts: 12
Just the middle - 11541 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1215 / 4230
  • Number of attempts: 3
Array transposition - 2436 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 56
  • Position: #438 / 452
  • Number of attempts: 3
I forgot quotes - 16093 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #1082 / 4202
  • Number of attempts: 10
A HAPPY NEW YEAR 2014 ! - 10713 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1371 / 3700
  • Number of attempts: 5
attr_aligner - 3525 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 32
  • Position: #500 / 706
  • Number of attempts: 5
Words in parens - 12992 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1727 / 3977
  • Number of attempts: 9
Herman Stavelin
Twitter:

entered into 16 challenges

contributed 0 challenges