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

Change attribute to getter - 85 entries

Wrap attributes with a getter method.

  • Best score: 24
  • Best player score: 37
  • Number of attempts: 1
Simple, Practical, and Common - 23284 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: 2
  • Best player score: 26
  • Number of attempts: 2
multiple cursor alternative - 1001 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: 23
  • Number of attempts: 3
Just the middle - 8842 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 11
  • Number of attempts: 1

Contributed Challenges

Change attribute to getter - 85 entries

Wrap attributes with a getter method.

multiple cursor alternative - 1001 entries

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

Justin Wyne
Twitter:

Engineering Manager @Reflektive. Previously @Twitter. Photography and Rock Climbing

entered into 4 challenges

contributed 2 challenges