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

Put the months in order - 574 entries

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

  • Best score: 20
  • Best player score: 53
  • Number of attempts: 3
Simple, Practical, and Common - 26367 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
  • Number of attempts: 4
Remove quotes after first field - 167 entries

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

  • Best score: 16
  • Best player score: 27
  • Number of attempts: 1
ninja substitution - 714 entries

How can you reuse a previous substitution ?

  • Best score: 14
  • Best player score: 32
  • Number of attempts: 1
Words in parens - 11286 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 1
Simple text editing with Vim - 10620 entries

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

  • Best score: 13
  • Best player score: 17
  • Number of attempts: 2
Reorder the groups - 605 entries

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

  • Best score: 14
  • Best player score: 20
  • Number of attempts: 3
attr_aligner - 3072 entries

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

  • Best score: 19
  • Best player score: 52
  • Number of attempts: 1
Change part of a function name in multiple occurrences - 462 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
  • Number of attempts: 1
Add semicolons - 3711 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 5
remove lines containing the word "reader" - 2044 entries

easy stuff

  • Best score: 9
  • Best player score: 14
  • Number of attempts: 4
I forgot quotes - 12503 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Number of attempts: 7
Applying same text modification in several lines - 1870 entries

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

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 1
One number per line - 13860 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 24
  • Number of attempts: 2
Box it - 3971 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Number of attempts: 5
Mat
Twitter:

geek, programmer, web, developer, musician

entered into 15 challenges

contributed 0 challenges