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 - 32992 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: 22
  • Position: #1588 / 7283
  • Number of attempts: 7
Swap values - 4482 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Position: #256 / 1245
  • Number of attempts: 4
One number per line - 18426 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Position: #1213 / 3799
  • Number of attempts: 4
V to the i - 4645 entries

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

  • Best score: 7
  • Best player score: 7
  • Position: #617 / 1859
  • Number of attempts: 2
Applying same text modification in several lines - 2763 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 13
  • Position: #74 / 818
  • Number of attempts: 4
remove lines containing the word "reader" - 3475 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #19 / 1125
  • Number of attempts: 3
Com(m)a Trouble - 3438 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 13
  • Position: #197 / 768
  • Number of attempts: 7
Every other line - 2839 entries

AaAaAaA

  • Best score: 12
  • Best player score: 12
  • Position: #26 / 688
  • Number of attempts: 12
Copy three lines - 2815 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #112 / 628
  • Number of attempts: 13
Just the middle - 11263 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1185 / 4135
  • Number of attempts: 4
Team names - 1780 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 16
  • Position: #201 / 571
  • Number of attempts: 4
Basic renumbering - 5449 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 11
  • Position: #148 / 1231
  • Number of attempts: 4
Vice versa - 7568 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #427 / 2055
  • Number of attempts: 8
Array transposition - 2312 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 16
  • Position: #9 / 431
  • Number of attempts: 7
unknown command - 144 entries

I want change 5 words

  • Best score: 7
  • Best player score: 7
  • Position: #29 / 73
  • Number of attempts: 2
Collect List - 4191 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Position: #401 / 1170
  • Number of attempts: 5
I forgot quotes - 15769 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #812 / 4119
  • Number of attempts: 4
A HAPPY NEW YEAR 2014 ! - 10557 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1342 / 3643
  • Number of attempts: 2
Words in parens - 12769 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 21
  • Position: #3464 / 3925
  • Number of attempts: 1
Ackman Syntax Error
Twitter:

TV is chewing gum for the eyes.

entered into 19 challenges

contributed 0 challenges