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

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: #753 / 7474
  • 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: 11
  • Position: #554 / 1555
  • Number of attempts: 4
One number per line - 18831 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #151 / 3889
  • Number of attempts: 8
Aliases for cd - 881 entries

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

  • Best score: 30
  • Best player score: 66
  • Position: #132 / 156
  • Number of attempts: 5
Add semicolons - 10916 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1420 / 3085
  • Number of attempts: 6
Split line with dots - 2156 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 18
  • Position: #295 / 636
  • Number of attempts: 5
Just the middle - 11541 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #795 / 4230
  • Number of attempts: 2
Order and join - 992 entries

There's something special about the input order.

  • Best score: 10
  • Best player score: 10
  • Position: #20 / 261
  • Number of attempts: 5
Jake Utley
Twitter:

Person

entered into 8 challenges

contributed 0 challenges