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

Switch function arguments - 1857 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 17
  • Number of attempts: 1
Basic renumbering - 4854 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 10
Just the middle - 9767 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
V to the i - 4155 entries

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

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
Words in parens - 11449 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 3
I forgot quotes - 12890 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 3
nope
Twitter:

entered into 6 challenges

contributed 0 challenges