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

Stairs Indenting - 380 entries

Indent each line with <line number> whitespaces.

  • Best score: 12
  • Best player score: 33
  • Number of attempts: 1
Let's play some Ivmgolf - 966 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 6
Append semicolon after expressions - 890 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 4
Switch function arguments - 1866 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 5
VimGolfNight - 468 entries

Based on "The name of the game".

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 2
Caroline
Twitter:

web developer, writer of poems, CSS obsessive, rock climber, language enthusiast, watcher of films. pretty into @flyasscaracal.

entered into 5 challenges

contributed 0 challenges