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

V to the i - 4864 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Position: #878 / 1912
  • Number of attempts: 3
Extract argument from function - 2401 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 16
  • Position: #499 / 768
  • Number of attempts: 1
-a-b-c- - 3237 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Position: #759 / 1145
  • Number of attempts: 3
Count both ways - 1037 entries

Right AND down.

  • Best score: 13
  • Best player score: 16
  • Position: #156 / 359
  • Number of attempts: 2
Suffix sort - 287 entries

Sort from the end of the line, as if the letters in each line were reversed.

  • Best score: 19
  • Best player score: 27
  • Position: #47 / 68
  • Number of attempts: 3
Lisp Condense - 473 entries

Reduce 4 cons selection operations down to one function call.

  • Best score: 13
  • Best player score: 14
  • Position: #74 / 160
  • Number of attempts: 4
Neither Fizz nor Buzz - 270 entries

Not your regular increment macro! The gaps are tricky.

  • Best score: 13
  • Best player score: 20
  • Position: #48 / 106
  • Number of attempts: 1
Don't know what this is - 2048 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 13
  • Position: #256 / 592
  • Number of attempts: 3
Where should I put the Newline? - 898 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 8
  • Position: #282 / 446
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10749 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #1861 / 3712
  • Number of attempts: 1
Words in parens - 13033 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2146 / 3987
  • Number of attempts: 3
Simple text editing with Vim - 13576 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 17
  • Position: #2545 / 3892
  • Number of attempts: 1
Vim Golfer
Twitter:

entered into 12 challenges

contributed 0 challenges