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

fib.c cleanup - 66 entries

cleanup the file

  • Best score: 15
  • Best player score: 16
  • Position: #15 / 54
  • Number of attempts: 1
Harder than "abcd > a b c d" - 76 entries

Not as easy as the last challenge. This time, just one space between a and b, up to 25 spaces between y and z. (Removed some lines; diff was too long.)

  • Best score: 15
  • Best player score: 27
  • Position: #34 / 39
  • Number of attempts: 2
Block Fun 1 - 188 entries

Manipulate the columns to produce desired result.

  • Best score: 14
  • Best player score: 22
  • Position: #37 / 72
  • Number of attempts: 1
abcd > a b c d - 279 entries

transform the single spaces into 4 spaces repeat for each line

  • Best score: 15
  • Best player score: 15
  • Position: #28 / 217
  • Number of attempts: 2
Python: Lots of function arguments - 101 entries

The function definition is too long for one line. The modeline helps you with some typical Python indent settings.

  • Best score: 13
  • Best player score: 16
  • Position: #33 / 45
  • Number of attempts: 1
Readable Rubyhash - 243 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: 23
  • Best player score: 104
  • Position: #91 / 91
  • Number of attempts: 1
Checkerboard case pattern - 144 entries

All the squares are white. Make some of them black. But only the right ones.

  • Best score: 15
  • Best player score: 51
  • Position: #57 / 57
  • Number of attempts: 2
lamb had a little Mary - 582 entries

"Mary" and "lamb" are swapped. Unswap them. Fast as you can.

  • Best score: 16
  • Best player score: 36
  • Position: #93 / 161
  • Number of attempts: 3
Chris Maguire
Twitter:

Christian, husband, dad, Clojure fan

entered into 8 challenges

contributed 0 challenges