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

Put a newline after every 10 lines in vim - 940 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 11
  • Position: #89 / 331
  • Number of attempts: 5
Contribute to keyboard mashing - 613 entries

Speak in tongues

  • Best score: 17
  • Best player score: 20
  • Position: #137 / 185
  • Number of attempts: 2
Simple, Practical, and Common - 32904 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: #206 / 7270
  • Number of attempts: 6
lipsum lines - 247 entries

Convert a quoted block of text into strings in a list.

  • Best score: 28
  • Best player score: 30
  • Position: #25 / 89
  • Number of attempts: 3
Manual SQL - 114 entries

Change select and insert queries to simulate inserting a new record.

  • Best score: 49
  • Best player score: 78
  • Position: #35 / 44
  • Number of attempts: 1
I forgot quotes - 15728 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #299 / 4114
  • Number of attempts: 4
Words in parens - 12736 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #606 / 3919
  • Number of attempts: 4
Increment, increment, increment.... - 567 entries

Vim likes macros

  • Best score: 10
  • Best player score: 10
  • Position: #3 / 370
  • Number of attempts: 2
Linear congruential generator - 108 entries

http://en.wikipedia.org/wiki/Linear_congruential_generator

  • Best score: 28
  • Best player score: 42
  • Position: #38 / 46
  • Number of attempts: 2
Simple text editing with Vim - 11624 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #387 / 3410
  • Number of attempts: 4
Hermit McDermot
Twitter:

entered into 10 challenges

contributed 0 challenges