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

Yo To Hello - 980 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #246 / 452
  • Number of attempts: 2
Simple, Practical, and Common - 32765 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: 25
  • Position: #3280 / 7241
  • Number of attempts: 4
prepend * to every non-blank line - 5829 entries

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

  • Best score: 10
  • Best player score: 15
  • Position: #902 / 1434
  • Number of attempts: 1
One number per line - 18294 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Position: #3043 / 3770
  • Number of attempts: 2
Every other line - 2790 entries

AaAaAaA

  • Best score: 12
  • Best player score: 15
  • Position: #345 / 679
  • Number of attempts: 6
Change part of a function name in multiple occurrences - 595 entries

Change the middle part of the function name in multiple places, preferably using the next and dot commands.

  • Best score: 14
  • Best player score: 21
  • Position: #176 / 190
  • Number of attempts: 3
I forgot quotes - 15666 entries

Oops.

  • Best score: 10
  • Best player score: 19
  • Position: #3462 / 4098
  • Number of attempts: 1
Simple text editing with Vim - 11431 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 16
  • Position: #2085 / 3357
  • Number of attempts: 2
R1 Bwre
Twitter:

entered into 8 challenges

contributed 0 challenges