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

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

  • Best score: 9
  • Best player score: 11
  • Position: #511 / 1120
  • Number of attempts: 4
Simple, Practical, and Common - 33969 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: #3717 / 7502
  • Number of attempts: 4
prepend * to every non-blank line - 6388 entries

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

  • Best score: 10
  • Best player score: 12
  • Position: #786 / 1559
  • Number of attempts: 4
Add semicolons - 10934 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1893 / 3092
  • Number of attempts: 4
Box it - 7997 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 25
  • Position: #1032 / 1897
  • Number of attempts: 3
One to Ten - 2247 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: #548 / 685
  • Number of attempts: 1
Join 'em - 254 entries

This shouldn't be too tough

  • Best score: 4
  • Best player score: 5
  • Position: #58 / 153
  • Number of attempts: 1
Remove quotes after first field - 408 entries

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

  • Best score: 16
  • Best player score: 26
  • Position: #77 / 95
  • Number of attempts: 3
Reorder the groups - 1198 entries

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

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

I automate stuff.

entered into 9 challenges

contributed 0 challenges