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

Rural Post - 4572 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 11
  • Position: #504 / 1116
  • Number of attempts: 7
Simple, Practical, and Common - 33879 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: 28
  • Position: #4469 / 7477
  • Number of attempts: 4
Swap values - 4661 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 14
  • Position: #779 / 1282
  • Number of attempts: 4
Swap values inside brackets - 2523 entries

Easy challenge.

  • Best score: 13
  • Best player score: 16
  • Position: #263 / 587
  • Number of attempts: 7
V to the i - 4830 entries

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

  • Best score: 7
  • Best player score: 7
  • Position: #696 / 1903
  • Number of attempts: 7
Add semicolons - 10916 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1133 / 3085
  • Number of attempts: 6
Box it - 7962 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 55
  • Position: #1805 / 1891
  • Number of attempts: 5
Every other line - 2925 entries

AaAaAaA

  • Best score: 12
  • Best player score: 23
  • Position: #671 / 707
  • Number of attempts: 2
Delete to the end of the current line - 855 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 5
  • Position: #194 / 411
  • Number of attempts: 1
change parenthesis - 299 entries

change the pair of braces into a pair of parentheses

  • Best score: 9
  • Best player score: 10
  • Position: #136 / 162
  • Number of attempts: 2
samuel norbury
Twitter:

entered into 10 challenges

contributed 0 challenges