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 - 32903 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: 24
  • Position: #2882 / 7270
  • Number of attempts: 10
One number per line - 18377 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Position: #1128 / 3787
  • Number of attempts: 6
multiple cursor alternative - 1447 entries

from: https://www.reddit.com/r/vim/comments/6w5pfa/crosspost_from_remacs_how_would_you_do_this_in_vim/

  • Best score: 19
  • Best player score: 31
  • Position: #334 / 369
  • Number of attempts: 1
That hyphen - 2498 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 13
  • Position: #518 / 683
  • Number of attempts: 1
Adam's challenge - 916 entries

Change both normal to bold and 4 by 2. Adam Wathan challenge this on twitter . He did it in 11 keystrokes on Sublime.

  • Best score: 18
  • Best player score: 23
  • Position: #209 / 257
  • Number of attempts: 1
Array transposition - 2312 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 26
  • Position: #290 / 431
  • Number of attempts: 2
Hole-in-one - 973 entries

Lets take this golf thing literally.. Drive off the tee into the hole, and of course you don't strike the ball completely clean.

  • Best score: 15
  • Best player score: 15
  • Position: #2 / 297
  • Number of attempts: 8
David
Twitter:

entered into 7 challenges

contributed 0 challenges