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 - 33988 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: 30
  • Position: #5304 / 7509
  • Number of attempts: 1
Swap values - 4703 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 15
  • Position: #950 / 1291
  • Number of attempts: 1
One number per line - 18896 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 26
  • Position: #3456 / 3902
  • Number of attempts: 1
Applying same text modification in several lines - 2929 entries

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

  • Best score: 12
  • Best player score: 14
  • Position: #395 / 866
  • Number of attempts: 3
Box it - 7999 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 25
  • Position: #1003 / 1899
  • Number of attempts: 3
Just the middle - 11613 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1250 / 4253
  • Number of attempts: 3
Team names - 1860 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 19
  • Position: #459 / 595
  • Number of attempts: 1
Delete to the end of the current line - 867 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #148 / 417
  • Number of attempts: 2
Collect List - 4333 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 17
  • Position: #1001 / 1197
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10749 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1397 / 3712
  • Number of attempts: 3
Trevor Langston
Twitter:

entered into 10 challenges

contributed 0 challenges