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 - 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: 28
  • Position: #4388 / 7442
  • Number of attempts: 5
One number per line - 18755 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 24
  • Position: #3228 / 3870
  • Number of attempts: 3
V to the i - 4813 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Position: #1342 / 1897
  • Number of attempts: 2
Applying same text modification in several lines - 2893 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 20
  • Position: #718 / 856
  • Number of attempts: 1
remove lines containing the word "reader" - 3604 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #51 / 1169
  • Number of attempts: 5
Number Sort - 314 entries

sort the list of newline-separated numbers incrementally. Numbers are in the range 1 to 1000, with 500 missing

  • Best score: 9
  • Best player score: 9
  • Position: #96 / 166
  • Number of attempts: 1
Just the middle - 11484 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2773 / 4209
  • Number of attempts: 2
Team names - 1841 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 19
  • Position: #449 / 589
  • Number of attempts: 3
Vice versa - 7945 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1368 / 2138
  • Number of attempts: 4
Increment each number - 1025 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 21
  • Position: #151 / 249
  • Number of attempts: 1
Delete to the end of the current line - 829 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 9
  • Position: #385 / 400
  • Number of attempts: 2
Put the months in order - 974 entries

Our contractor thought that months should be in alphabetical order. Put them in calendar order please.

  • Best score: 20
  • Best player score: 57
  • Position: #144 / 163
  • Number of attempts: 1
unknown command - 167 entries

I want change 5 words

  • Best score: 7
  • Best player score: 7
  • Position: #33 / 87
  • Number of attempts: 3
-a-b-c- - 3216 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 18
  • Position: #1054 / 1138
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10682 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2361 / 3689
  • Number of attempts: 3
attr_aligner - 3522 entries

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

  • Best score: 19
  • Best player score: 49
  • Position: #673 / 703
  • Number of attempts: 1
Words in parens - 12967 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 18
  • Position: #2985 / 3969
  • Number of attempts: 2
replacing each line of a block selection - 3001 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 37
  • Position: #752 / 778
  • Number of attempts: 2
Grorco
Twitter:

entered into 18 challenges

contributed 0 challenges