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 - 228 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: #26 / 57
  • Number of attempts: 4
Changing date formats - 269 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 46
  • Position: #16 / 89
  • Number of attempts: 2
Generate an entry for each month - 171 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: #21 / 51
  • Number of attempts: 2
The Fibonacci Spacer - 86 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: #10 / 30
  • Number of attempts: 2
Easy modification of ssh config - 382 entries

Just add another alias to each worker

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

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

  • Best score: 9
  • Best player score: 13
  • Position: #672 / 1107
  • Number of attempts: 2
Simple, Practical, and Common - 33724 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 / 7442
  • Number of attempts: 10
prepend * to every non-blank line - 6337 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #454 / 1546
  • 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 - 10881 entries

Simply add a semicolon at the end of each line

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

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3218 / 4209
  • 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