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

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

  • Best score: 9
  • Best player score: 11
  • Position: #479 / 1066
  • Number of attempts: 4
Simple, Practical, and Common - 33353 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: #3659 / 7358
  • Number of attempts: 4
prepend * to every non-blank line - 6201 entries

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

  • Best score: 10
  • Best player score: 12
  • Position: #761 / 1514
  • Number of attempts: 4
Add semicolons - 10785 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 12
  • Position: #1861 / 3042
  • Number of attempts: 4
Box it - 7818 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 25
  • Position: #1013 / 1861
  • Number of attempts: 3
One to Ten - 2159 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: #531 / 660
  • Number of attempts: 1
Join 'em - 247 entries

This shouldn't be too tough

  • Best score: 4
  • Best player score: 5
  • Position: #52 / 147
  • Number of attempts: 1
Remove quotes after first field - 353 entries

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

  • Best score: 16
  • Best player score: 26
  • Position: #70 / 87
  • Number of attempts: 3
Reorder the groups - 1137 entries

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

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

I automate stuff.

entered into 9 challenges

contributed 0 challenges