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

Rural Post - 4595 entries

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

  • Best score: 9
  • Best player score: 9
  • Position: #54 / 1121
  • Number of attempts: 11
Simple, Practical, and Common - 33970 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: #690 / 7503
  • Number of attempts: 8
Swap values - 4703 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Position: #117 / 1291
  • Number of attempts: 4
Add semicolons - 10943 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #668 / 3093
  • Number of attempts: 3
Copy three lines - 2909 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 13
  • Position: #33 / 644
  • Number of attempts: 7
Just the middle - 11590 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #759 / 4246
  • Number of attempts: 6
One to Ten - 2248 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 12
  • Position: #316 / 686
  • Number of attempts: 12
Collect List - 4332 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Position: #498 / 1196
  • Number of attempts: 6
Do you demand a shrubbery? - 1185 entries

Use :redir and crush the emacsgolfers.

  • Best score: 15
  • Best player score: 15
  • Position: #53 / 306
  • Number of attempts: 9
A HAPPY NEW YEAR 2014 ! - 10748 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1031 / 3711
  • Number of attempts: 2
Words in parens - 13032 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 20
  • Position: #3278 / 3986
  • Number of attempts: 1
Simple text editing with Vim - 13526 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #443 / 3879
  • Number of attempts: 7
Joseph Simone
Twitter:

I'd write a biography if I wasn't too busy giving back to the community via the drugs I sell them.

entered into 12 challenges

contributed 0 challenges