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

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

  • Best score: 9
  • Best player score: 13
  • Position: #576 / 1116
  • Number of attempts: 6
Add quotes to ansible playbook - 1030 entries

You created an ansible playbook, but forgot to add quotes. Can you fix it?

  • Best score: 8
  • Best player score: 11
  • Position: #278 / 325
  • Number of attempts: 4
Yo To Hello - 1152 entries

Simply Turn Yo To Hello

  • Best score: 8
  • Best player score: 10
  • Position: #212 / 534
  • Number of attempts: 1
Simple, Practical, and Common - 33866 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: 27
  • Position: #4067 / 7474
  • Number of attempts: 2
prepend * to every non-blank line - 6366 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #273 / 1555
  • Number of attempts: 8
One number per line - 18831 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 20
  • Position: #2296 / 3889
  • Number of attempts: 3
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: 15
  • Position: #548 / 863
  • Number of attempts: 3
Add semicolons - 10916 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #615 / 3085
  • Number of attempts: 3
Copy three lines - 2882 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 23
  • Position: #531 / 642
  • Number of attempts: 3
Just the middle - 11541 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3656 / 4230
  • Number of attempts: 3
I forgot quotes - 16093 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1988 / 4202
  • Number of attempts: 1
Increment, increment, increment.... - 701 entries

Vim likes macros

  • Best score: 10
  • Best player score: 21
  • Position: #402 / 413
  • Number of attempts: 1
Camilo A. Matajira
Twitter:

entered into 12 challenges

contributed 0 challenges