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 - 33966 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: 26
  • Position: #3518 / 7501
  • Number of attempts: 1
Swap values - 4701 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Position: #93 / 1290
  • Number of attempts: 6
One number per line - 18889 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 18
  • Position: #1369 / 3898
  • Number of attempts: 6
Split line with dots - 2174 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 19
  • Position: #334 / 638
  • Number of attempts: 3
Copy three lines - 2909 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 28
  • Position: #596 / 644
  • Number of attempts: 1
Just the middle - 11574 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2256 / 4241
  • Number of attempts: 4
Vice versa - 7997 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #206 / 2152
  • Number of attempts: 3
C Reformatting - 709 entries

You may use Visual mode... or not. #uppercase

  • Best score: 30
  • Best player score: 62
  • Position: #126 / 165
  • Number of attempts: 1
Paragraph breaks - 533 entries

Swap the blank lines and the aaa lines.

  • Best score: 10
  • Best player score: 16
  • Position: #155 / 169
  • Number of attempts: 1
I forgot quotes - 16176 entries

Oops.

  • Best score: 10
  • Best player score: 27
  • Position: #4054 / 4216
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10748 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2143 / 3711
  • Number of attempts: 1
The name of the game - 679 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Position: #215 / 364
  • Number of attempts: 2
Switch function arguments - 2195 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 12
  • Position: #296 / 678
  • Number of attempts: 4
AODQ
Twitter:

Dlang, OpenGL, spacemacs, functional & metaprogramming. Nervous unfunny wreck :)

entered into 13 challenges

contributed 0 challenges