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 - 32745 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 / 7235
  • Number of attempts: 8
prepend * to every non-blank line - 5776 entries

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

  • Best score: 10
  • Best player score: 17
  • Position: #1035 / 1421
  • Number of attempts: 1
One number per line - 18223 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Position: #907 / 3759
  • Number of attempts: 7
Add semicolons - 10429 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #784 / 2954
  • Number of attempts: 4
Bad Copy Syntax - 1882 entries

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

  • Best score: 18
  • Best player score: 22
  • Position: #284 / 478
  • Number of attempts: 3
Just the middle - 11074 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3068 / 4088
  • Number of attempts: 3
Increment each number - 922 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 16
  • Position: #68 / 228
  • Number of attempts: 6
Around the clock - 167 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 / 65
  • Number of attempts: 3
Reorder the groups - 1071 entries

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

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

We should all ace this, right?

  • Best score: 13
  • Best player score: 19
  • Position: #3116 / 3903
  • Number of attempts: 1
replacing each line of a block selection - 2740 entries

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

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

entered into 11 challenges

contributed 0 challenges