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 - 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: #3706 / 7474
  • Number of attempts: 8
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: 11
  • Position: #557 / 1555
  • Number of attempts: 7
remove lines containing the word "reader" - 3622 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Position: #755 / 1177
  • Number of attempts: 2
Every other line - 2925 entries

AaAaAaA

  • Best score: 12
  • Best player score: 15
  • Position: #365 / 707
  • Number of attempts: 5
Copy three lines - 2882 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 26
  • Position: #579 / 642
  • Number of attempts: 1
Just the middle - 11541 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3032 / 4230
  • Number of attempts: 2
Greg Lee
Twitter:

entered into 6 challenges

contributed 0 challenges