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

lamb had a little Mary - 464 entries

"Mary" and "lamb" are swapped. Unswap them. Fast as you can.

  • Best score: 16
  • Best player score: 41
  • Number of attempts: 2
Minimalist Limerick - 448 entries

Reproduce this lovely poem.

  • Best score: 31
  • Best player score: 40
  • Number of attempts: 1
Assignment Alignment - 660 entries

line up the operators. Use spaces, not tabs.

  • Best score: 18
  • Best player score: 31
  • Number of attempts: 1
-a-b-c- - 2474 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 3
I forgot quotes - 10876 entries

Oops.

  • Best score: 10
  • Best player score: 15
  • Number of attempts: 5
switch variable - 4189 entries

how fast can you switch two variable ?

  • Best score: 3
  • Best player score: 14
  • Number of attempts: 1
V to the i - 3693 entries

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

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 4
Every other line - 1937 entries

AaAaAaA

  • Best score: 12
  • Best player score: 21
  • Number of attempts: 1
Ruby 1.9 hashes - 1043 entries

Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!

  • Best score: 12
  • Best player score: 18
  • Number of attempts: 1
Vice versa - 5630 entries

Little role switching.

  • Best score: 2
  • Best player score: 23
  • Number of attempts: 1
Back to the roots - 36 entries

Johnny has a file with more integers. He wants to change each number with its square root. Can you help him?

  • Best score: 5
  • Best player score: 23
  • Number of attempts: 1
Simple, Practical, and Common - 22752 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: 2
  • Best player score: 26
  • Number of attempts: 3
ASCII box - 295 entries

Don't forget to fix typos!

  • Best score: 23
  • Best player score: 28
  • Number of attempts: 2
Liam Chimes
Twitter:

entered into 13 challenges

contributed 0 challenges