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

Rural Post - 3894 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 9
  • Position: #18 / 964
  • Number of attempts: 3
Simple, Practical, and Common - 32803 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: #2064 / 7246
  • Number of attempts: 5
Hogwarts Email Sorting - 811 entries

Given a list of emails, get the students full name and their associated house.

  • Best score: 20
  • Best player score: 33
  • Position: #207 / 232
  • Number of attempts: 1
prepend * to every non-blank line - 5851 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #19 / 1440
  • Number of attempts: 5
One number per line - 18320 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #602 / 3775
  • Number of attempts: 13
Quote modules - 1003 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 21
  • Position: #6 / 255
  • Number of attempts: 8
Aliases for cd - 791 entries

Create these beautiful aliases with as few strokes as possible. Are you up for the challenge?

  • Best score: 30
  • Best player score: 31
  • Position: #19 / 144
  • Number of attempts: 10
Add semicolons - 10480 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1267 / 2972
  • Number of attempts: 1
Box it - 7667 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 22
  • Position: #514 / 1831
  • Number of attempts: 5
I forgot quotes - 15704 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #983 / 4104
  • Number of attempts: 6
A HAPPY NEW YEAR 2014 ! - 10525 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1481 / 3633
  • Number of attempts: 2
attr_aligner - 3382 entries

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

  • Best score: 19
  • Best player score: 19
  • Position: #165 / 681
  • Number of attempts: 15
Words in parens - 12703 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #1051 / 3909
  • Number of attempts: 3
Jonathan Stinson
Twitter:

entered into 13 challenges

contributed 0 challenges