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

Shebangs for all - 1912 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: 13
  • Position: #178 / 500
  • Number of attempts: 7
Add fold markers to a .c file - 565 entries

Fold markers can make it easier to navigate source code. Add them to this .c file.

  • Best score: 30
  • Best player score: 36
  • Position: #97 / 173
  • Number of attempts: 4
Reformat/Refactor a Golfer Class - 6603 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 47
  • Position: #1187 / 1621
  • Number of attempts: 3
Hannibal7878
Twitter:

I love Common Lisp, Clojure, and Smalltalk. I love all reflexive thing, and lambda function. I love Vim and Emacs.

entered into 3 challenges

contributed 0 challenges