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

Words in parens - 12368 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 3
Hogwarts Email Sorting - 681 entries

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

  • Best score: 20
  • Best player score: 33
  • Number of attempts: 1
I forgot quotes - 15112 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 6
Aliases for cd - 605 entries

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

  • Best score: 30
  • Best player score: 31
  • Number of attempts: 10
One number per line - 17454 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 13
Box it - 7065 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 22
  • Number of attempts: 5
Rural Post - 1954 entries

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

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10319 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 2
Add semicolons - 9273 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 1
Simple, Practical, and Common - 31648 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
  • Number of attempts: 5
attr_aligner - 3282 entries

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

  • Best score: 19
  • Best player score: 19
  • Number of attempts: 15
prepend * to every non-blank line - 4769 entries

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

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 5
Quote modules - 827 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 8
Jonathan Stinson
Twitter:

entered into 13 challenges

contributed 0 challenges