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: 11
  • Position: #507 / 1116
  • Number of attempts: 4
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: 26
  • Position: #3710 / 7474
  • Number of attempts: 4
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: 12
  • Position: #782 / 1555
  • Number of attempts: 4
Add semicolons - 10916 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1887 / 3085
  • Number of attempts: 4
Box it - 7962 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 25
  • Position: #1028 / 1891
  • Number of attempts: 3
One to Ten - 2241 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 15
  • Position: #546 / 682
  • Number of attempts: 1
Join 'em - 252 entries

This shouldn't be too tough

  • Best score: 4
  • Best player score: 5
  • Position: #57 / 152
  • Number of attempts: 1
Remove quotes after first field - 386 entries

Remove the quotes around each field except for the first field.

  • Best score: 16
  • Best player score: 26
  • Position: #76 / 93
  • Number of attempts: 3
Reorder the groups - 1185 entries

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

  • Best score: 14
  • Best player score: 21
  • Position: #182 / 266
  • Number of attempts: 6
Raphael
Twitter:

I automate stuff.

entered into 9 challenges

contributed 0 challenges