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

Swap values - 4261 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 4
I forgot quotes - 14976 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 7
Words in parens - 12292 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 4
Simple, Practical, and Common - 31316 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
  • Number of attempts: 5
Scrambled numbers - 764 entries

Four is NOT 1. One is 1.

  • Best score: 18
  • Best player score: 18
  • Number of attempts: 10
Basic renumbering - 5240 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 4
Switch function arguments - 1888 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 5
One number per line - 17283 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 1
中野 彰
Twitter:

small does one thing well is beautiful

entered into 8 challenges

contributed 0 challenges