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 - 4072 entries

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

  • Best score: 9
  • Best player score: 11
  • Position: #437 / 1008
  • Number of attempts: 7
Simple, Practical, and Common - 32879 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: #4357 / 7266
  • Number of attempts: 4
Swap values - 4420 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 14
  • Position: #756 / 1238
  • Number of attempts: 4
Swap values inside brackets - 2423 entries

Easy challenge.

  • Best score: 14
  • Best player score: 16
  • Position: #251 / 558
  • Number of attempts: 7
V to the i - 4635 entries

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

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

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1095 / 2986
  • Number of attempts: 6
Box it - 7678 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 55
  • Position: #1748 / 1834
  • Number of attempts: 5
Every other line - 2815 entries

AaAaAaA

  • Best score: 12
  • Best player score: 23
  • Position: #648 / 683
  • Number of attempts: 2
Delete to the end of the current line - 711 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 / 348
  • Number of attempts: 1
change parenthesis - 251 entries

change the pair of braces into a pair of parentheses

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

entered into 10 challenges

contributed 0 challenges