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

ninja substitution - 1116 entries

How can you reuse a previous substitution ?

  • Best score: 14
  • Best player score: 16
  • Number of attempts: 4
remove lines containing the word "reader" - 3275 entries

easy stuff

  • Best score: 9
  • Best player score: 11
  • Number of attempts: 3
Com(m)a Trouble - 3078 entries

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

  • Best score: 12
  • Best player score: 17
  • Number of attempts: 2
comment and uncomment code inline - 950 entries

It's very useful to be able to comment out a block of code in a quick edit. And likewise to uncomment the code. This operation often involves multi-line stanzas and even large blocks. With just line-wise navigation and insert mode this would cost you about 4 keystrokes per line. Master this hole of VimGolf and you'll quickly drop your key count in day to day Vim as well.

  • Best score: 9
  • Best player score: 12
  • Number of attempts: 2
That hyphen - 2411 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 15
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10396 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 3
Henry Wang (theKidOfArcrania)
Twitter:

Student by day, pwner at night (tho sometimes in the day as well) | teams: @DefConUA

entered into 6 challenges

contributed 0 challenges