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 - 33742 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: #418 / 7447
  • Number of attempts: 7
One number per line - 18776 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Position: #1589 / 3875
  • Number of attempts: 2
V to the i - 4818 entries

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

  • Best score: 7
  • Best player score: 7
  • Position: #348 / 1898
  • Number of attempts: 3
Just the middle - 11495 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2160 / 4213
  • Number of attempts: 1
Vice versa - 7952 entries

Little role switching.

  • Best score: 12
  • Best player score: 13
  • Position: #731 / 2139
  • Number of attempts: 4
Mirrored text - 185 entries

backward and forward, and long enough to be challenging

  • Best score: 14
  • Best player score: 17
  • Position: #57 / 72
  • Number of attempts: 2
Inner hyphens - 136 entries

Yet another hyphen challenge. Adding 5 hyphens to a file shouldn't be too hard.

  • Best score: 11
  • Best player score: 12
  • Position: #51 / 82
  • Number of attempts: 1
Scrambled numbers - 807 entries

Four is NOT 1. One is 1.

  • Best score: 18
  • Best player score: 30
  • Position: #139 / 184
  • Number of attempts: 3
Collect List - 4308 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Position: #194 / 1192
  • Number of attempts: 1
I forgot quotes - 16038 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #383 / 4192
  • Number of attempts: 5
Don't know what this is - 2024 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 14
  • Position: #348 / 586
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10688 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #948 / 3691
  • Number of attempts: 2
The Quick Brown Fox Jumps Over The Lazy Vim - 425 entries

Someone has vandalized this text file and replaced the beginning character of one word in each line with a Big "X." Please remove the big X's, and fix each line to read "The Quick Brown Fox Jumps Over The Lazy Dog."

  • Best score: 8
  • Best player score: 10
  • Position: #80 / 193
  • Number of attempts: 2
SFD-ROC: vimvimvim - 1606 entries

Oh no, this line is longer than 80 chars... put each 'vim' on a new line.

  • Best score: 8
  • Best player score: 8
  • Position: #78 / 446
  • Number of attempts: 4
Remove semicolons after expressions - 654 entries

A follow-up for http://vimgolf.com/challenges/4fc9d767d3a0d4000100000e.

  • Best score: 6
  • Best player score: 6
  • Position: #85 / 263
  • Number of attempts: 2
Jake Griffin
Twitter:

entered into 15 challenges

contributed 0 challenges