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 - 32758 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: 31
  • Position: #5561 / 7239
  • Number of attempts: 3
One number per line - 18278 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 22
  • Position: #2718 / 3768
  • Number of attempts: 3
Swap values inside brackets - 2404 entries

Easy challenge.

  • Best score: 14
  • Best player score: 23
  • Position: #460 / 555
  • Number of attempts: 2
Add semicolons - 10455 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 15
  • Position: #2226 / 2962
  • Number of attempts: 1
Change attribute to getter - 106 entries

Wrap attributes with a getter method.

  • Best score: 24
  • Best player score: 24
  • Position: #26 / 45
  • Number of attempts: 8
Simple text editing with Vim - 11391 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 28
  • Position: #3018 / 3347
  • Number of attempts: 1
Hannes Käufler
Twitter:

entered into 6 challenges

contributed 0 challenges