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 - 1678 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #265 / 563
  • Number of attempts: 2
hello-world-vimgolf - 2522 entries

Simple number generation

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

Speak in tongues

  • Best score: 17
  • Best player score: 21
  • Position: #220 / 274
  • Number of attempts: 1
Rural Post - 4579 entries

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

  • Best score: 9
  • Best player score: 10
  • Position: #405 / 1117
  • Number of attempts: 4
Simple, Practical, and Common - 33905 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 / 7484
  • Number of attempts: 9
prepend * to every non-blank line - 6366 entries

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

  • Best score: 10
  • Best player score: 16
  • Position: #1088 / 1555
  • Number of attempts: 3
Applying same text modification in several lines - 2915 entries

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

  • Best score: 12
  • Best player score: 17
  • Position: #638 / 863
  • Number of attempts: 2
Wrap the text of an email message to 79 characters - 848 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 5
  • Position: #320 / 439
  • Number of attempts: 2
Just the middle - 11546 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 10
  • Position: #3839 / 4232
  • Number of attempts: 1
I forgot quotes - 16104 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3330 / 4205
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10714 entries

A HAPPY NEW YEAR 2014 !

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

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #950 / 3977
  • Number of attempts: 8
Simple text editing with Vim - 13321 entries

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

  • Best score: 13
  • Best player score: 28
  • Position: #3420 / 3823
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 7462 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 7
  • Best player score: 59
  • Position: #1651 / 1835
  • Number of attempts: 2
MEschenbacher
Twitter:

entered into 14 challenges

contributed 0 challenges