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

quotes inside quotes - 2726 entries

taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)

  • Best score: 2
  • Best player score: 76
  • Number of attempts: 1
switch variable - 4244 entries

how fast can you switch two variable ?

  • Best score: 3
  • Best player score: 31
  • Number of attempts: 1
Saving the hashes(#) - 1709 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: 34
  • Number of attempts: 1
Switch function arguments - 1815 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 21
  • Number of attempts: 1
Artur Chruszcz
Twitter:

entered into 4 challenges

contributed 0 challenges