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

Aliases for cd - 620 entries

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

  • Best score: 30
  • Best player score: 41
  • Number of attempts: 5
Forgot to follow the naming convention... - 25 entries

Rename everything like MY_VAR_SOMETHING to MyVarSomething.

  • Best score: 32
  • Best player score: 46
  • Number of attempts: 2
Add semicolons - 9364 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 11
One number per line - 17483 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 10
attr_aligner - 3282 entries

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

  • Best score: 19
  • Best player score: 19
  • Number of attempts: 14
Vice versa - 7165 entries

Little role switching.

  • Best score: 12
  • Best player score: 28
  • Number of attempts: 1
Hogwarts Email Sorting - 689 entries

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

  • Best score: 20
  • Best player score: 22
  • Number of attempts: 3
Box it - 7120 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 6
Simple, Practical, and Common - 31762 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: 10
Bachelor
Twitter:

entered into 9 challenges

contributed 0 challenges