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 - 33535 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: 35
  • Position: #6540 / 7397
  • Number of attempts: 1
One number per line - 18705 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 24
  • Position: #3210 / 3855
  • Number of attempts: 2
Swap values inside brackets - 2480 entries

Easy challenge.

  • Best score: 14
  • Best player score: 23
  • Position: #458 / 575
  • Number of attempts: 4
Applying same text modification in several lines - 2859 entries

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

  • Best score: 12
  • Best player score: 14
  • Position: #306 / 845
  • Number of attempts: 6
Just the middle - 11417 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2743 / 4181
  • Number of attempts: 2
Order and join - 983 entries

There's something special about the input order.

  • Best score: 10
  • Best player score: 13
  • Position: #190 / 259
  • Number of attempts: 4
comments galore - 1038 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Position: #262 / 422
  • Number of attempts: 3
Align commas - 1087 entries

There are 15,000 aligning challenges on vimgolf.com, and they're all exactly the same. I hope this one is a little different.

  • Best score: 11
  • Best player score: 20
  • Position: #219 / 244
  • Number of attempts: 4
Space out the alphabet - 1657 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 24
  • Position: #379 / 444
  • Number of attempts: 1
Words in parens - 12918 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 30
  • Position: #3875 / 3957
  • Number of attempts: 1
Vertical Limit - 2522 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 26
  • Position: #485 / 751
  • Number of attempts: 2
Switch function arguments - 2117 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 16
  • Position: #607 / 657
  • Number of attempts: 2
dorpo
Twitter:

entered into 12 challenges

contributed 0 challenges