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 - 33930 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: #4406 / 7490
  • Number of attempts: 5
One number per line - 18840 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 24
  • Position: #3240 / 3893
  • Number of attempts: 3
V to the i - 4833 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1347 / 1904
  • Number of attempts: 2
Applying same text modification in several lines - 2920 entries

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

  • Best score: 12
  • Best player score: 20
  • Position: #725 / 864
  • Number of attempts: 1
remove lines containing the word "reader" - 3631 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #51 / 1179
  • Number of attempts: 5
Number Sort - 321 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 / 171
  • Number of attempts: 1
Just the middle - 11555 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2781 / 4234
  • Number of attempts: 2
Team names - 1854 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 19
  • Position: #451 / 593
  • Number of attempts: 3
Vice versa - 7981 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Position: #1372 / 2147
  • Number of attempts: 4
Increment each number - 1062 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 21
  • Position: #154 / 257
  • Number of attempts: 1
Delete to the end of the current line - 865 entries

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

  • Best score: 5
  • Best player score: 9
  • Position: #400 / 415
  • Number of attempts: 2
Put the months in order - 998 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: #146 / 166
  • Number of attempts: 1
unknown command - 175 entries

I want change 5 words

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

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 18
  • Position: #1056 / 1140
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10721 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2368 / 3704
  • Number of attempts: 3
attr_aligner - 3525 entries

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

  • Best score: 19
  • Best player score: 49
  • Position: #675 / 706
  • Number of attempts: 1
Words in parens - 13005 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 18
  • Position: #2991 / 3979
  • Number of attempts: 2
replacing each line of a block selection - 3026 entries

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

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

entered into 18 challenges

contributed 0 challenges