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 - 32773 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 / 7241
  • Number of attempts: 7
prepend * to every non-blank line - 5829 entries

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

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

Just give me the numbers.

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

Oops.

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

Contributed Challenges

add line and index - 59 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