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

Simple, Practical, and Common - 33965 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: 29
  • Position: #4952 / 7501
  • Number of attempts: 3
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: 20
  • Position: #1264 / 1559
  • Number of attempts: 2
One number per line - 18889 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 39
  • Position: #3818 / 3898
  • Number of attempts: 1
Box it - 7997 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 29
  • Position: #1354 / 1897
  • Number of attempts: 2
Just the middle - 11572 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3646 / 4240
  • Number of attempts: 4
I forgot quotes - 16176 entries

Oops.

  • Best score: 10
  • Best player score: 22
  • Position: #3879 / 4216
  • Number of attempts: 1
Ishi
Twitter:

entered into 6 challenges

contributed 0 challenges