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

That hyphen - 2602 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 25
  • Position: #696 / 704
  • Number of attempts: 1
-a-b-c- - 3225 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 17
  • Position: #920 / 1140
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10713 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #173 / 3700
  • Number of attempts: 3
Words in parens - 12992 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 18
  • Position: #2805 / 3977
  • Number of attempts: 3
Prefixes and suffixes - 638 entries

Generate all prefixes of "vimchallenge", then all suffixes.

  • Best score: 17
  • Best player score: 33
  • Position: #174 / 203
  • Number of attempts: 1
switch variable - 5094 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #269 / 1754
  • Number of attempts: 6
Shebangs for all - 2049 entries

We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.

  • Best score: 11
  • Best player score: 20
  • Position: #422 / 523
  • Number of attempts: 2
Martin Chabot
Twitter:

Ruby and Go enthusiast and many other things.

entered into 7 challenges

contributed 0 challenges