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

Search and Replace 0 - 4640 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 14
  • Position: #919 / 1537
  • Number of attempts: 3
O Christmas Tree - 99 entries

Design a macro that makes trees grow (or ASCII triangles, if that's too hard).

  • Best score: 22
  • Best player score: 27
  • Position: #17 / 40
  • Number of attempts: 1
Where should I put the Newline? - 837 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 8
  • Position: #247 / 420
  • Number of attempts: 1
Hole-in-one - 965 entries

Lets take this golf thing literally.. Drive off the tee into the hole, and of course you don't strike the ball completely clean.

  • Best score: 15
  • Best player score: 18
  • Position: #132 / 296
  • Number of attempts: 3
Stairs Indenting - 412 entries

Indent each line with <line number> whitespaces.

  • Best score: 12
  • Best player score: 19
  • Position: #166 / 181
  • Number of attempts: 1
Numbering a List - 1826 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 20
  • Position: #306 / 623
  • Number of attempts: 2
Shebangs for all - 1763 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: 15
  • Position: #253 / 466
  • Number of attempts: 2
Increment, increment, increment.... - 557 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #255 / 367
  • Number of attempts: 1
Jacob Branaugh
Twitter:

entered into 8 challenges

contributed 0 challenges