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 - 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: 22
  • Position: #1346 / 7422
  • Number of attempts: 7
prepend * to every non-blank line - 6317 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #33 / 1538
  • Number of attempts: 8
One number per line - 18732 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #608 / 3865
  • Number of attempts: 7
I forgot quotes - 15989 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #745 / 4181
  • Number of attempts: 6

Contributed Challenges

add line and index - 100 entries

a missed line and index names need to be added

Xiangyu Xu
Twitter:

a graduate student in Electrical Engineering

entered into 4 challenges

contributed 1 challenges