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

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

  • Best score: 9
  • Best player score: 11
  • Position: #440 / 1008
  • Number of attempts: 4
Simple, Practical, and Common - 32879 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: #3609 / 7266
  • Number of attempts: 4
prepend * to every non-blank line - 5946 entries

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

  • Best score: 10
  • Best player score: 12
  • Position: #724 / 1459
  • Number of attempts: 4
Add semicolons - 10527 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1820 / 2986
  • Number of attempts: 4
Box it - 7678 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 25
  • Position: #994 / 1834
  • Number of attempts: 3
One to Ten - 2091 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: #513 / 640
  • Number of attempts: 1
Join 'em - 228 entries

This shouldn't be too tough

  • Best score: 4
  • Best player score: 5
  • Position: #41 / 134
  • Number of attempts: 1
Remove quotes after first field - 319 entries

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

  • Best score: 16
  • Best player score: 26
  • Position: #62 / 79
  • Number of attempts: 3
Reorder the groups - 1109 entries

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

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

I automate stuff.

entered into 9 challenges

contributed 0 challenges