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 - 32992 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: #1471 / 7283
  • Number of attempts: 10
One number per line - 18426 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Position: #2953 / 3799
  • Number of attempts: 5
Add semicolons - 10707 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1803 / 3013
  • Number of attempts: 2
Bad Copy Syntax - 1947 entries

Copy should be from right to left, but sometimes you type it wrong.

  • Best score: 18
  • Best player score: 35
  • Position: #449 / 494
  • Number of attempts: 2
Wrap the text of an email message to 79 characters - 601 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 29
  • Position: #360 / 360
  • Number of attempts: 2
Number Sort - 291 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: 10
  • Position: #138 / 155
  • Number of attempts: 1
Collect List - 4190 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 19
  • Position: #1088 / 1169
  • Number of attempts: 1
VimGolfNight - 507 entries

Based on "The name of the game".

  • Best score: 12
  • Best player score: 18
  • Position: #315 / 332
  • Number of attempts: 1
Change name of a variable - 163 entries

Replace the name of the $variable with the fastest move possible. The challenge is having a command that allow you to easily change the variable name even if its indented.

  • Best score: 9
  • Best player score: 14
  • Position: #125 / 127
  • Number of attempts: 1
Reverse Simple Deletion - 787 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #346 / 437
  • Number of attempts: 6
Context insensitive completion 0 - 476 entries

Buried in the lines you're not supposed to add is the line "Add this line!" Add that line to the top of the file.

  • Best score: 7
  • Best player score: 10
  • Position: #208 / 224
  • Number of attempts: 1
Pompo Stenberg
Twitter:

A cyclist, not a vacumist

entered into 11 challenges

contributed 0 challenges