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: #1422 / 7422
  • Number of attempts: 10
prepend * to every non-blank line - 6318 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #27 / 1539
  • Number of attempts: 5
Add semicolons - 10867 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1317 / 3065
  • Number of attempts: 1
Com(m)a Trouble - 3829 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 18
  • Position: #600 / 866
  • Number of attempts: 1
convert yml into java pojo field - 857 entries

How fast vim can create fields for java pojo i.e class declaration referring to a (simple) yml file

  • Best score: 29
  • Best player score: 36
  • Position: #189 / 227
  • Number of attempts: 1
I forgot quotes - 15990 entries

Oops.

  • Best score: 10
  • Best player score: 20
  • Position: #3635 / 4182
  • Number of attempts: 1
Mark Oswald
Twitter:

entered into 6 challenges

contributed 0 challenges