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 - 34012 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: 35
  • Position: #6557 / 7513
  • Number of attempts: 1
V to the i - 4883 entries

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

  • Best score: 7
  • Best player score: 7
  • Position: #170 / 1914
  • Number of attempts: 2
Just the middle - 11616 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #1692 / 4255
  • Number of attempts: 1
Make HTML List - 1072 entries

Turn the comma separated list into an unordered html list.

  • Best score: 33
  • Best player score: 35
  • Position: #35 / 276
  • Number of attempts: 5
Basic renumbering - 5733 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 20
  • Position: #800 / 1279
  • Number of attempts: 3
Vice versa - 8019 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #69 / 2157
  • Number of attempts: 7
Mirror Symmetry - 844 entries

Add backslashes.

  • Best score: 7
  • Best player score: 7
  • Position: #25 / 272
  • Number of attempts: 3
Collect List - 4341 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Position: #18 / 1200
  • Number of attempts: 3
camel riding - 815 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 17
  • Position: #184 / 284
  • Number of attempts: 2
swap or reverse - 130 entries

Try to swap or reverse the line as needed.

  • Best score: 16
  • Best player score: 16
  • Position: #24 / 70
  • Number of attempts: 1
Space out the alphabet - 1692 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 23
  • Position: #348 / 456
  • Number of attempts: 1
Line 'em up! - 426 entries

It can be so hard to keep everything neatly lined-up. Somebody clearly hasn't bothered here. Tidy it up, please!

  • Best score: 17
  • Best player score: 34
  • Position: #102 / 115
  • Number of attempts: 3
ASCII box - 378 entries

Don't forget to fix typos!

  • Best score: 23
  • Best player score: 23
  • Position: #8 / 111
  • Number of attempts: 3
Mute the second method of this script - 463 entries

prepend a # infront of every line of the second method

  • Best score: 8
  • Best player score: 9
  • Position: #14 / 244
  • Number of attempts: 2
I forgot quotes - 16237 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Position: #2800 / 4224
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10755 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #641 / 3715
  • Number of attempts: 4
Words in parens - 13053 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #511 / 3991
  • Number of attempts: 4
James Pringle
Twitter:

Programmer Analyst

entered into 17 challenges

contributed 0 challenges