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

VimGolfNight - 495 entries

Based on "The name of the game".

  • Best score: 12
  • Best player score: 18
  • Position: #309 / 327
  • Number of attempts: 1
Letter case trickery - 1547 entries

This file is in a downright esoteric format, consisting of hexadecimal numbers, non-hexadecimal keywords, and "Z" indicating end-of-line. Make the hexadecimal numbers lowercase.

  • Best score: 9
  • Best player score: 10
  • Position: #43 / 498
  • Number of attempts: 2
Hole-in-one - 973 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: 21
  • Position: #198 / 297
  • Number of attempts: 1
Printable ASCII characters - 108 entries

From a blank input, print all 95 printing ASCII characters one per line, from space to tilde.

  • Best score: 22
  • Best player score: 50
  • Position: #39 / 39
  • Number of attempts: 1
Switch function arguments - 1982 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 11
  • Position: #67 / 627
  • Number of attempts: 3
Append semicolon after expressions - 942 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 13
  • Position: #293 / 385
  • Number of attempts: 1
switch variable - 4917 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #739 / 1701
  • Number of attempts: 1
Oliver Caldwell
Twitter:

Developer at Qubit. Infatuated by programming languages and text editors. Namely Vim, Clojure and (reluctantly) JavaScript. I play a lot of Counter-Strike.

entered into 7 challenges

contributed 0 challenges