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

Harder than "abcd > a b c d" - 64 entries

Not as easy as the last challenge. This time, just one space between a and b, up to 25 spaces between y and z. (Removed some lines; diff was too long.)

  • Best score: 15
  • Best player score: 23
  • Number of attempts: 1
Space out the alphabet - 1212 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 22
  • Number of attempts: 1
Simple text editing with Vim - 9777 entries

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

  • Best score: 13
  • Best player score: 21
  • Number of attempts: 3
Basic renumbering - 3983 entries

Renumbering Basic.

  • Best score: 2
  • Best player score: 21
  • Number of attempts: 1
120 Degrees - 333 entries

Rotate that triangle.

  • Best score: 14
  • Best player score: 18
  • Number of attempts: 4
Vice versa - 5178 entries

Little role switching.

  • Best score: 2
  • Best player score: 15
  • Number of attempts: 2
camel riding - 663 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 4
Swap values - 3010 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 2
Make HTML List - 786 entries

Turn the comma separated list into an unordered html list.

  • Best score: 33
  • Best player score: 48
  • Number of attempts: 4
That hyphen - 1817 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 7
One number per line - 9847 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 18
  • Number of attempts: 6
Lisp Condense - 356 entries

Reduce 4 cons selection operations down to one function call.

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 4
Words in parens - 10188 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 4
Just the middle - 8291 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
Simple, Practical, and Common - 20086 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: 7
  • Best player score: 14
  • Number of attempts: 9
Collect List - 3039 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 3
Where should I put the Newline? - 777 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
-a-b-c- - 2292 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 3
I forgot quotes - 9763 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 7
V to the i - 3417 entries

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

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 3
switch variable - 4014 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 1

Contributed Challenges

Vice versa - 5178 entries

Little role switching.

Daniel Beck
Twitter:

entered into 21 challenges

contributed 1 challenges