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

Words in parens - 12677 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #304 / 3903
  • Number of attempts: 8
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: 20
  • Position: #20 / 461
  • Number of attempts: 8
Vertical Limit - 2300 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 25
  • Position: #317 / 701
  • Number of attempts: 2
replacing each line of a block selection - 2740 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 19
  • Position: #144 / 724
  • Number of attempts: 8
switch variable - 4863 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #275 / 1688
  • Number of attempts: 4
Jared Weakly
Twitter:

entered into 5 challenges

contributed 0 challenges