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 - 33868 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: #5291 / 7475
  • Number of attempts: 1
Swap values - 4661 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 15
  • Position: #946 / 1282
  • Number of attempts: 1
One number per line - 18831 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 26
  • Position: #3445 / 3889
  • Number of attempts: 1
Applying same text modification in several lines - 2915 entries

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

  • Best score: 12
  • Best player score: 14
  • Position: #392 / 863
  • Number of attempts: 3
Box it - 7962 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 25
  • Position: #998 / 1891
  • Number of attempts: 3
Just the middle - 11541 entries

Delete the instructions at the top and bottom.

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

The team names are misspelled.

  • Best score: 16
  • Best player score: 19
  • Position: #456 / 592
  • Number of attempts: 1
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: #148 / 411
  • Number of attempts: 2
Collect List - 4317 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 17
  • Position: #998 / 1194
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10713 entries

A HAPPY NEW YEAR 2014 !

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

entered into 10 challenges

contributed 0 challenges