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

One number per line - 17283 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 7
replacing each line of a block selection - 2706 entries

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

  • Best score: 18
  • Best player score: 19
  • Number of attempts: 3
Words in parens - 12292 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 19
  • Number of attempts: 1
prepend * to every non-blank line - 4429 entries

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

  • Best score: 10
  • Best player score: 17
  • Number of attempts: 1
Just the middle - 10709 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 3
Around the clock - 152 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
  • Number of attempts: 3
Bad Copy Syntax - 1733 entries

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

  • Best score: 10
  • Best player score: 22
  • Number of attempts: 3
Reorder the groups - 950 entries

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

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 7
Increment each number - 814 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 16
  • Number of attempts: 6
Simple, Practical, and Common - 31322 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
  • Number of attempts: 8
Add semicolons - 8997 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Number of attempts: 4
will
Twitter:

entered into 11 challenges

contributed 0 challenges