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

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

  • Best score: 7
  • Best player score: 9
  • Position: #1600 / 1915
  • Number of attempts: 1
Search and Replace 0 - 5162 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 16
  • Position: #1233 / 1675
  • Number of attempts: 1
Just the middle - 11620 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 9
  • Position: #3308 / 4258
  • Number of attempts: 1
Basic renumbering - 5737 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 23
  • Position: #1006 / 1281
  • Number of attempts: 2
VimGolfNight - 604 entries

Based on "The name of the game".

  • Best score: 12
  • Best player score: 12
  • Position: #212 / 357
  • Number of attempts: 1
I forgot quotes - 16239 entries

Oops.

  • Best score: 10
  • Best player score: 24
  • Position: #3963 / 4225
  • Number of attempts: 1
Shift down - 238 entries

Number words are back.

  • Best score: 19
  • Best player score: 29
  • Position: #48 / 72
  • Number of attempts: 1
Gray area - 765 entries

It's a golf metaphor or something.

  • Best score: 11
  • Best player score: 14
  • Position: #219 / 277
  • Number of attempts: 1
Neither Fizz nor Buzz - 271 entries

Not your regular increment macro! The gaps are tricky.

  • Best score: 13
  • Best player score: 22
  • Position: #93 / 107
  • Number of attempts: 1
Don't know what this is - 2070 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: 16
  • Position: #493 / 596
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10758 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 16
  • Position: #3299 / 3717
  • Number of attempts: 1
Ruby 1.9 hashes - 1313 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: 12
  • Best player score: 15
  • Position: #286 / 419
  • Number of attempts: 2
Change the content of a string - 1803 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 27
  • Position: #523 / 656
  • Number of attempts: 1
Simple text editing with Vim - 13645 entries

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

  • Best score: 13
  • Best player score: 26
  • Position: #3361 / 3907
  • Number of attempts: 1
Jeffrey Gu
Twitter:

Hi.

entered into 14 challenges

contributed 0 challenges