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 - 32746 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: #1352 / 7235
  • Number of attempts: 5
Swap values - 4390 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 11
  • Position: #229 / 1230
  • Number of attempts: 4
One number per line - 18224 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #425 / 3760
  • Number of attempts: 1
Basic renumbering - 5393 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 11
  • Position: #114 / 1218
  • Number of attempts: 4
Scrambled numbers - 769 entries

Four is NOT 1. One is 1.

  • Best score: 18
  • Best player score: 18
  • Position: #34 / 178
  • Number of attempts: 10
I forgot quotes - 15636 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #744 / 4094
  • Number of attempts: 7
Words in parens - 12677 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1625 / 3903
  • Number of attempts: 4
Switch function arguments - 1933 entries

How to switch two arguments of a function.

  • Best score: 3
  • Best player score: 11
  • Position: #151 / 617
  • Number of attempts: 5
中野 彰
Twitter:

small does one thing well is beautiful

entered into 8 challenges

contributed 0 challenges