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 - 32904 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: 22
  • Position: #1771 / 7270
  • Number of attempts: 8
prepend * to every non-blank line - 5959 entries

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

  • Best score: 10
  • Best player score: 17
  • Position: #1071 / 1463
  • Number of attempts: 1
One number per line - 18377 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Position: #925 / 3787
  • Number of attempts: 7
Add semicolons - 10539 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #793 / 2988
  • Number of attempts: 4
Bad Copy Syntax - 1938 entries

Copy should be from right to left, but sometimes you type it wrong.

  • Best score: 18
  • Best player score: 22
  • Position: #296 / 493
  • Number of attempts: 3
Just the middle - 11136 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3076 / 4112
  • Number of attempts: 3
Increment each number - 946 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 16
  • Position: #68 / 233
  • Number of attempts: 6
Around the clock - 174 entries

You'll want to use 2 special commands to complete this. If you haven't yet, read through 'input.txt', especially :help simple-changes

  • Best score: 13
  • Best player score: 13
  • Position: #25 / 67
  • Number of attempts: 3
Reorder the groups - 1112 entries

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

  • Best score: 14
  • Best player score: 14
  • Position: #18 / 252
  • Number of attempts: 7
Words in parens - 12736 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 19
  • Position: #3131 / 3919
  • Number of attempts: 1
replacing each line of a block selection - 2791 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 19
  • Position: #206 / 732
  • Number of attempts: 3
will
Twitter:

entered into 11 challenges

contributed 0 challenges