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 - 22703 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: 2
  • Best player score: 23
  • Number of attempts: 3
From A to B - 487 entries

Mirror and change this text block

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

Oops.

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

Little role switching.

  • Best score: 2
  • Best player score: 16
  • Number of attempts: 1
Count both ways - 854 entries

Right AND down.

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

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 1
Simple text editing with Vim - 10126 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 - 389 entries

Swap the blank lines and the aaa lines.

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

AaAaAaA

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

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 1
Just the middle - 8768 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 - 685 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 - 333 entries

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

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 1
Free hyphen! - 111 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 - 4189 entries

how fast can you switch two variable ?

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

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 5
Copy three lines - 1855 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 - 481 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 - 614 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