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

Simple, Practical, and Common - 27190 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: 23
  • Number of attempts: 3
From A to B - 520 entries

Mirror and change this text block

  • Best score: 16
  • Best player score: 18
  • Number of attempts: 2
I forgot quotes - 12879 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Number of attempts: 1
Vice versa - 6313 entries

Little role switching.

  • Best score: 12
  • Best player score: 16
  • Number of attempts: 1
Count both ways - 899 entries

Right AND down.

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 1
-a-b-c- - 2716 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 1
Simple text editing with Vim - 10703 entries

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

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 2
Paragraph breaks - 418 entries

Swap the blank lines and the aaa lines.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 4
Every other line - 2259 entries

AaAaAaA

  • Best score: 12
  • Best player score: 13
  • Number of attempts: 4
Words in parens - 11444 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 1
Just the middle - 9765 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 1
Fiddle percentages into real numbers - 736 entries

Get rid of the '%' symbols and shift the decimal place. This is the easier version - all the columns line up.

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 1
Delete unwanted lines - 339 entries

Delete all lines which does not end in "o.."

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 1
Free hyphen! - 117 entries

Just like "Inner hyphens", but I'm giving you a free hyphen to play with. Will your solution be any different?

  • Best score: 9
  • Best player score: 11
  • Number of attempts: 1
switch variable - 4453 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 2
Swap values - 3790 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 5
Copy three lines - 2256 entries

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

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 5
Wrap the text of an email message to 79 characters - 495 entries

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

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 1
Gray area - 655 entries

It's a golf metaphor or something.

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 3
jinx balotchnik
Twitter:

entered into 19 challenges

contributed 0 challenges