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 format - 3067 entries

make it look better.

  • Best score: 20
  • Best player score: 20
  • Number of attempts: 14
Double and switch - 36 entries

Aaaanother case switcher

  • Best score: 18
  • Best player score: 20
  • Number of attempts: 1
Split line with dots - 1838 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 17
  • Number of attempts: 3
One number per line - 12990 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 6
Swap values inside brackets - 1518 entries

Easy challenge.

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 4
remove lines containing the word "reader" - 1725 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Number of attempts: 2
Just the middle - 9315 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 3
V to the i - 3952 entries

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

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
Delete to the end of the current line - 473 entries

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

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 2
Simple, Practical, and Common - 25293 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
  • Number of attempts: 9
Order and join - 756 entries

There's something special about the input order.

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 4
Team names - 1464 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 16
  • Number of attempts: 4
Swap values - 3565 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 2
Vice versa - 5989 entries

Little role switching.

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 5
I forgot quotes - 11954 entries

Oops.

  • Best score: 10
  • Best player score: 12
  • Number of attempts: 4
replace 2nd column blanks with values in same column if blank - 183 entries

Where ,SOMELOGB and ,SOMELOGC replaces each /r carriage return if 2nd column is blank. The replace only happens if 2nd column is blank though and should replace up to the non blank row.

  • Best score: 15
  • Best player score: 15
  • Number of attempts: 3
-a-b-c- - 2607 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 4
chocolate
Twitter:

entered into 17 challenges

contributed 0 challenges