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

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

  • Best score: 7
  • Best player score: 8
  • Position: #849 / 1856
  • Number of attempts: 3
Extract argument from function - 2215 entries

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

  • Best score: 13
  • Best player score: 16
  • Position: #471 / 728
  • Number of attempts: 1
-a-b-c- - 3118 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Position: #734 / 1112
  • Number of attempts: 3
Count both ways - 957 entries

Right AND down.

  • Best score: 13
  • Best player score: 16
  • Position: #144 / 340
  • Number of attempts: 2
Suffix sort - 219 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: #41 / 61
  • Number of attempts: 3
Lisp Condense - 431 entries

Reduce 4 cons selection operations down to one function call.

  • Best score: 13
  • Best player score: 14
  • Position: #70 / 151
  • Number of attempts: 4
Neither Fizz nor Buzz - 216 entries

Not your regular increment macro! The gaps are tricky.

  • Best score: 13
  • Best player score: 20
  • Position: #40 / 96
  • Number of attempts: 1
Don't know what this is - 1948 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: #244 / 571
  • Number of attempts: 3
Where should I put the Newline? - 842 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 8
  • Position: #272 / 421
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10533 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #1816 / 3637
  • Number of attempts: 1
Words in parens - 12736 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2102 / 3919
  • Number of attempts: 3
Simple text editing with Vim - 11624 entries

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

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

entered into 12 challenges

contributed 0 challenges