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

Poorly indented Python comments - 1315 entries

Fix the alignment of some Python comments as quickly as possible.

  • Best score: 15
  • Best player score: 36
  • Position: #135 / 221
  • Number of attempts: 6
hello-world-vimgolf - 2499 entries

Simple number generation

  • Best score: 10
  • Best player score: 26
  • Position: #644 / 708
  • Number of attempts: 3
Simple, Practical, and Common - 33621 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: 28
  • Position: #4175 / 7422
  • Number of attempts: 6
prepend * to every non-blank line - 6312 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 22
  • Position: #1352 / 1537
  • Number of attempts: 3
add line and index - 100 entries

a missed line and index names need to be added

  • Best score: 44
  • Best player score: 65
  • Position: #27 / 29
  • Number of attempts: 1
Patrick Motard
Twitter:

entered into 5 challenges

contributed 0 challenges