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 - 32962 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: #4298 / 7276
  • Number of attempts: 4
One number per line - 18395 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 24
  • Position: #3167 / 3793
  • Number of attempts: 2
Applying same text modification in several lines - 2751 entries

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

  • Best score: 12
  • Best player score: 16
  • Position: #538 / 815
  • Number of attempts: 1
Add semicolons - 10545 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 14
  • Position: #2023 / 2989
  • Number of attempts: 5
remove lines containing the word "reader" - 3454 entries

easy stuff

  • Best score: 9
  • Best player score: 14
  • Position: #971 / 1121
  • Number of attempts: 4
Box it - 7682 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #848 / 1836
  • Number of attempts: 5
ninja substitution - 1302 entries

How can you reuse a previous substitution ?

  • Best score: 14
  • Best player score: 32
  • Position: #228 / 248
  • Number of attempts: 1
Change part of a function name in multiple occurrences - 604 entries

Change the middle part of the function name in multiple places, preferably using the next and dot commands.

  • Best score: 14
  • Best player score: 16
  • Position: #127 / 192
  • Number of attempts: 1
Remove quotes after first field - 322 entries

Remove the quotes around each field except for the first field.

  • Best score: 16
  • Best player score: 27
  • Position: #73 / 80
  • Number of attempts: 1
Put the months in order - 915 entries

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

  • Best score: 20
  • Best player score: 53
  • Position: #129 / 155
  • Number of attempts: 3
Reorder the groups - 1112 entries

Change the order so that the groups of fruit come before the vegetables.

  • Best score: 14
  • Best player score: 20
  • Position: #156 / 252
  • Number of attempts: 3
I forgot quotes - 15748 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Position: #2628 / 4116
  • Number of attempts: 7
attr_aligner - 3402 entries

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

  • Best score: 19
  • Best player score: 52
  • Position: #664 / 685
  • Number of attempts: 1
Words in parens - 12736 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2449 / 3919
  • Number of attempts: 1
Simple text editing with Vim - 11657 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 17
  • Position: #2347 / 3418
  • Number of attempts: 2
Mat
Twitter:

geek, programmer, web, developer, musician

entered into 15 challenges

contributed 0 challenges