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

Fix the Scala Method - 379 entries

Fix the missing semicolons and the Int type, ensure the floating point division, and remove the unnecessary return.

  • Best score: 2
  • Best player score: 26
  • Position: #81 / 126
  • Number of attempts: 4
Put a newline after every 10 lines in vim - 1688 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #266 / 567
  • Number of attempts: 2
hello-world-vimgolf - 2535 entries

Simple number generation

  • Best score: 6
  • Best player score: 10
  • Position: #92 / 728
  • Number of attempts: 6
Contribute to keyboard mashing - 913 entries

Speak in tongues

  • Best score: 17
  • Best player score: 21
  • Position: #221 / 277
  • Number of attempts: 1
Rural Post - 4604 entries

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

  • Best score: 7
  • Best player score: 10
  • Position: #408 / 1126
  • Number of attempts: 4
Simple, Practical, and Common - 34031 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 / 7520
  • Number of attempts: 9
prepend * to every non-blank line - 6401 entries

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

  • Best score: 7
  • Best player score: 16
  • Position: #1096 / 1566
  • Number of attempts: 3
Applying same text modification in several lines - 2937 entries

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

  • Best score: 7
  • Best player score: 17
  • Position: #643 / 869
  • Number of attempts: 2
Wrap the text of an email message to 79 characters - 885 entries

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

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

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 10
  • Position: #3857 / 4262
  • Number of attempts: 1
I forgot quotes - 16255 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3348 / 4229
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10757 entries

A HAPPY NEW YEAR 2014 !

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

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #957 / 3995
  • Number of attempts: 8
Simple text editing with Vim - 13682 entries

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

  • Best score: 13
  • Best player score: 28
  • Position: #3494 / 3920
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 7737 entries

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

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

entered into 15 challenges

contributed 0 challenges