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

imports alignment (python) - 729 entries

Align as one import per line.

  • Best score: 17
  • Best player score: 33
  • Position: #170 / 205
  • Number of attempts: 2
Reformat long lines - 390 entries

Rearrange this ruby method call to put each parameter on its own line. Could become a useful macro.

  • Best score: 15
  • Best player score: 22
  • Position: #116 / 142
  • Number of attempts: 2
Shebangs for all - 2105 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: 22
  • Position: #450 / 534
  • Number of attempts: 1
Compile C - 454 entries

You might have to get clever to do this one.

  • Best score: 19
  • Best player score: 29
  • Position: #126 / 146
  • Number of attempts: 3
bestform
Twitter:

Nerd, Geek, Code Monkey

entered into 4 challenges

contributed 0 challenges