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

Put a newline after every 10 lines in vim - 852 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 13
  • Position: #135 / 301
  • Number of attempts: 2
hello-world-vimgolf - 1418 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #91 / 408
  • Number of attempts: 6
Contribute to keyboard mashing - 592 entries

Speak in tongues

  • Best score: 17
  • Best player score: 21
  • Position: #143 / 179
  • Number of attempts: 1
Rural Post - 4087 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 10
  • Position: #372 / 1010
  • Number of attempts: 4
Simple, Practical, and Common - 32881 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: #1561 / 7266
  • Number of attempts: 9
prepend * to every non-blank line - 5948 entries

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

  • Best score: 10
  • Best player score: 16
  • Position: #1015 / 1460
  • Number of attempts: 3
Applying same text modification in several lines - 2741 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 17
  • Position: #596 / 813
  • Number of attempts: 2
Just the middle - 11124 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 10
  • Position: #3738 / 4109
  • Number of attempts: 1
I forgot quotes - 15712 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3258 / 4109
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10531 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1335 / 3636
  • Number of attempts: 2
Words in parens - 12729 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #929 / 3917
  • Number of attempts: 8
Simple text editing with Vim - 11594 entries

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

  • Best score: 13
  • Best player score: 28
  • Position: #3078 / 3403
  • Number of attempts: 1
MEschenbacher
Twitter:

entered into 12 challenges

contributed 0 challenges