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

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

  • Best score: 9
  • Best player score: 9
  • Position: #54 / 1114
  • Number of attempts: 11
Simple, Practical, and Common - 33801 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 / 7459
  • Number of attempts: 8
Swap values - 4651 entries

Well, swap the values...

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

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #668 / 3079
  • Number of attempts: 3
Copy three lines - 2875 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 / 641
  • Number of attempts: 7
Just the middle - 11523 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #759 / 4222
  • Number of attempts: 6
One to Ten - 2240 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 / 681
  • Number of attempts: 12
Collect List - 4312 entries

Convert to comma separated list.

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

Use :redir and crush the emacsgolfers.

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

A HAPPY NEW YEAR 2014 !

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

We should all ace this, right?

  • Best score: 13
  • Best player score: 20
  • Position: #3269 / 3972
  • Number of attempts: 1
Simple text editing with Vim - 13183 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 / 3789
  • 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