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 - 33927 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: 30
  • Position: #5081 / 7488
  • Number of attempts: 1
Swap values - 4667 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 15
  • Position: #836 / 1284
  • Number of attempts: 1
One number per line - 18840 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 33
  • Position: #3729 / 3893
  • Number of attempts: 2
Just the middle - 11555 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2199 / 4234
  • Number of attempts: 2
Vice versa - 7981 entries

Little role switching.

  • Best score: 12
  • Best player score: 26
  • Position: #2022 / 2147
  • Number of attempts: 2
Collect List - 4317 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 16
  • Position: #818 / 1194
  • Number of attempts: 1
I forgot quotes - 16127 entries

Oops.

  • Best score: 10
  • Best player score: 16
  • Position: #2541 / 4208
  • Number of attempts: 2
-a-b-c- - 3225 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 17
  • Position: #961 / 1140
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10720 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 17
  • Position: #3395 / 3703
  • Number of attempts: 1
Words in parens - 13001 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2329 / 3978
  • Number of attempts: 1
Simple text editing with Vim - 13369 entries

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

  • Best score: 13
  • Best player score: 17
  • Position: #2557 / 3834
  • Number of attempts: 6
Kerry Todyruik
Twitter:

entered into 11 challenges

contributed 0 challenges