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

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

  • Best score: 9
  • Best player score: 11
  • Position: #478 / 1071
  • Number of attempts: 7
Simple, Practical, and Common - 33379 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: #4418 / 7363
  • Number of attempts: 4
Swap values - 4543 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 14
  • Position: #770 / 1257
  • Number of attempts: 4
Swap values inside brackets - 2464 entries

Easy challenge.

  • Best score: 14
  • Best player score: 16
  • Position: #256 / 569
  • Number of attempts: 7
V to the i - 4751 entries

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

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

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1122 / 3044
  • Number of attempts: 6
Box it - 7827 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 55
  • Position: #1778 / 1864
  • Number of attempts: 5
Every other line - 2886 entries

AaAaAaA

  • Best score: 12
  • Best player score: 23
  • Position: #665 / 700
  • Number of attempts: 2
Delete to the end of the current line - 784 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 / 384
  • Number of attempts: 1
change parenthesis - 278 entries

change the pair of braces into a pair of parentheses

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

entered into 10 challenges

contributed 0 challenges