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: 22
  • Position: #844 / 7358
  • Number of attempts: 8
Swap values - 4535 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 15
  • Position: #863 / 1255
  • Number of attempts: 4
One number per line - 18613 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 24
  • Position: #3146 / 3841
  • Number of attempts: 3
V to the i - 4743 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Position: #467 / 1878
  • Number of attempts: 5
Saving the hashes(#) - 1992 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: 56
  • Position: #466 / 473
  • Number of attempts: 1
Kfir Gollan
Twitter:

entered into 5 challenges

contributed 0 challenges