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 - 33353 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
  • Position: #2496 / 7358
  • Number of attempts: 7
One number per line - 18613 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 22
  • Position: #2591 / 3841
  • Number of attempts: 2
Extract argument from function - 2308 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 13
  • Position: #196 / 742
  • Number of attempts: 2
Just the middle - 11346 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #668 / 4160
  • Number of attempts: 2
Remember VimGolf Rules ! - 257 entries

Rules, ... and don't forget !

  • Best score: 7
  • Best player score: 8
  • Position: #78 / 138
  • Number of attempts: 1
Vice versa - 7778 entries

Little role switching.

  • Best score: 12
  • Best player score: 15
  • Position: #1026 / 2095
  • Number of attempts: 1
I forgot quotes - 15922 entries

Oops.

  • Best score: 10
  • Best player score: 20
  • Position: #3584 / 4159
  • Number of attempts: 2
Don't know what this is - 1978 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 12
  • Position: #212 / 578
  • Number of attempts: 8
Words in parens - 12848 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2309 / 3943
  • Number of attempts: 1
The meaning - 554 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Position: #274 / 355
  • Number of attempts: 1
Numbering a List - 1855 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 20
  • Position: #334 / 638
  • Number of attempts: 7
The Cake is a Lie - 1284 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 9
  • Position: #220 / 511
  • Number of attempts: 2
Change the content of a string - 1457 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 22
  • Position: #162 / 552
  • Number of attempts: 5
Simple text editing with Vim - 12233 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1509 / 3567
  • Number of attempts: 4
Pavol Slamka
Twitter:

entered into 14 challenges

contributed 0 challenges