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 - 5089 entries

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

  • Best score: 12
  • Best player score: 19
  • Position: #1447 / 1658
  • Number of attempts: 1
imports alignment (python) - 704 entries

Align as one import per line.

  • Best score: 17
  • Best player score: 31
  • Position: #158 / 200
  • Number of attempts: 1
Ruby 1.9 hashes - 1287 entries

Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!

  • Best score: 12
  • Best player score: 18
  • Position: #339 / 415
  • Number of attempts: 1
PEP8 Python Wrapping Comments and Code - 225 entries

According to PEP8, long flowy text and code should have different max line lengths. Code: 79 characters max Long flowy text: 72 characters max

  • Best score: 21
  • Best player score: 45
  • Position: #66 / 71
  • Number of attempts: 1
Deleting folded text - 406 entries

The text below contains three folds. Delete them (and the text inside them). For example: 123 456 /*{{{*/ 789 /*}}}*/ 012 Should become: 123 012 Also, add `aoeuaoeu` to make sure small solutions don't get flagged as cheating.

  • Best score: 17
  • Best player score: 26
  • Position: #106 / 127
  • Number of attempts: 1
okay zed
Twitter:

entered into 5 challenges

contributed 0 challenges