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 - 136 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: 36
  • Best player score: 60
  • Position: #21 / 35
  • Number of attempts: 4
Changing date formats - 187 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 46
  • Position: #15 / 59
  • Number of attempts: 2
Generate an entry for each month - 143 entries

The input file contains a URI with a month in it. Generate the URIs for all the other months up to a couple of years

  • Best score: 27
  • Best player score: 38
  • Position: #20 / 42
  • Number of attempts: 2
The Fibonacci Spacer - 70 entries

Split the words, remove punctuation and add spaces before each line following the Fibonacci sequence (0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89)

  • Best score: 25
  • Best player score: 42
  • Position: #9 / 25
  • Number of attempts: 2
Easy modification of ssh config - 378 entries

Just add another alias to each worker

  • Best score: 24
  • Best player score: 24
  • Position: #27 / 114
  • Number of attempts: 4
Rural Post - 4492 entries

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

  • Best score: 9
  • Best player score: 13
  • Position: #669 / 1103
  • Number of attempts: 2
Simple, Practical, and Common - 33677 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: #2410 / 7431
  • Number of attempts: 10
prepend * to every non-blank line - 6323 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #454 / 1542
  • Number of attempts: 3
Prime Numbers - 376 entries

List the first 100 prime numbers.

  • Best score: 34
  • Best player score: 88
  • Position: #77 / 106
  • Number of attempts: 2
Add semicolons - 10876 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #770 / 3069
  • Number of attempts: 3
Just the middle - 11473 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3217 / 4205
  • Number of attempts: 3
Delete unwanted lines - 419 entries

Delete all lines which does not end in "o.."

  • Best score: 9
  • Best player score: 9
  • Position: #198 / 230
  • Number of attempts: 6
martinorav
Github:

entered into 12 challenges

contributed 0 challenges