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

Reformat/Refactor a Golfer Class - 5590 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 49
  • Number of attempts: 1
Increment, increment, increment.... - 498 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Number of attempts: 1
Numbering a List - 1756 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 25
  • Number of attempts: 4
Simple text editing with Vim - 10826 entries

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

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 1
Wrap the text of an email message to 79 characters - 500 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 1
Case preserving word replacement - 394 entries

Half way through my project, my people turned into dogs. Now I have to change everything in my source.

  • Best score: 19
  • Best player score: 19
  • Number of attempts: 2
Recursively Palindrome - 220 entries

Note that there are 2^6-1 characters.

  • Best score: 21
  • Best player score: 23
  • Number of attempts: 2
Rotating Philosophers Problem - 360 entries

Can you help the philosophers find a good place to sit before they get five forks and spaghetti?

  • Best score: 29
  • Best player score: 33
  • Number of attempts: 2
Make it more readable - 1785 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 17
  • Number of attempts: 2
Generate English Alphabets - 421 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 42
  • Number of attempts: 1
Whitespace, empty lines and tabs - 2678 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 34
  • Number of attempts: 1
Beau Dacious
Twitter:

I make computers just accidentally do some crazy programmy looking things.

entered into 11 challenges

contributed 0 challenges