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 - 33612 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 / 7416
  • Number of attempts: 7
prepend * to every non-blank line - 6308 entries

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

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

Just give me the numbers.

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

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #745 / 4177
  • 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