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 - 32758 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
  • Position: #1849 / 7239
  • Number of attempts: 12
Swap values - 4401 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Position: #277 / 1233
  • Number of attempts: 11
prepend * to every non-blank line - 5802 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 17
  • Position: #1017 / 1428
  • Number of attempts: 7
One number per line - 18278 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Position: #926 / 3768
  • Number of attempts: 13
Add semicolons - 10455 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #92 / 2962
  • Number of attempts: 7
Box it - 7640 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #145 / 1825
  • Number of attempts: 12
html paragraph to table - 583 entries

reformat html paragraph to table

  • Best score: 48
  • Best player score: 98
  • Position: #113 / 121
  • Number of attempts: 2
Just the middle - 11080 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1264 / 4091
  • Number of attempts: 7
change parenthesis - 235 entries

change the pair of braces into a pair of parentheses

  • Best score: 9
  • Best player score: 9
  • Position: #15 / 133
  • Number of attempts: 3
Reorder the groups - 1082 entries

Change the order so that the groups of fruit come before the vegetables.

  • Best score: 14
  • Best player score: 27
  • Position: #209 / 247
  • Number of attempts: 3
I forgot quotes - 15656 entries

Oops.

  • Best score: 10
  • Best player score: 12
  • Position: #1345 / 4097
  • Number of attempts: 7
A HAPPY NEW YEAR 2014 ! - 10511 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 18
  • Position: #3419 / 3628
  • Number of attempts: 1
James Raubenheimer
Twitter:

Vandy 21

entered into 12 challenges

contributed 0 challenges