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

Sort and Tag - 421 entries

The goal is to sort these lines alphabetically, assign a unique identifier to each line in the format "[01]", "[02]", etc., and then restore the original order of the lines while preserving the assigned identifiers.

  • Best score: 7
  • Best player score: 105
  • Position: #62 / 90
  • Number of attempts: 2
Rural Post - 4563 entries

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

  • Best score: 9
  • Best player score: 10
  • Position: #320 / 1113
  • Number of attempts: 1
Simple, Practical, and Common - 33757 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: 26
  • Position: #3717 / 7450
  • Number of attempts: 2
prepend * to every non-blank line - 6358 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #281 / 1551
  • Number of attempts: 2
One number per line - 18780 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Position: #1324 / 3877
  • Number of attempts: 5
Add semicolons - 10891 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #623 / 3077
  • Number of attempts: 6
remove lines containing the word "reader" - 3610 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #443 / 1172
  • Number of attempts: 4
Box it - 7939 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #955 / 1885
  • Number of attempts: 1
I forgot quotes - 16051 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1988 / 4194
  • Number of attempts: 2
yhgolf
Twitter:

entered into 9 challenges

contributed 0 challenges