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 - 32746 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: #40 / 7235
  • Number of attempts: 9
Basic renumbering - 5393 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 20
  • Position: #756 / 1218
  • Number of attempts: 5
Vice versa - 7416 entries

Little role switching.

  • Best score: 12
  • Best player score: 14
  • Position: #824 / 2011
  • Number of attempts: 2
Collect List - 4146 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Position: #55 / 1159
  • Number of attempts: 6
camel riding - 734 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 15
  • Position: #12 / 263
  • Number of attempts: 6
Words in parens - 12678 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2181 / 3904
  • Number of attempts: 1
Saving the hashes(#) - 1929 entries

The following file is copied from vimcasts.org(Its only for learning purpose,hope the site owner doesn't mind it), its probably the easiest of challenges.Our goal is to delete every line which doesn't contain a hash signs. The remaining hash signs with numbers are then sorted to get the final output.

  • Best score: 20
  • Best player score: 27
  • Position: #249 / 461
  • Number of attempts: 4
lukaskrieger
Twitter:

entered into 7 challenges

contributed 0 challenges