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

Wrap the text of an email message to 79 characters - 576 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #44 / 352
  • Number of attempts: 1
Recursively Palindrome - 234 entries

Note that there are 2^6-1 characters.

  • Best score: 21
  • Best player score: 23
  • Position: #10 / 71
  • Number of attempts: 2
Make it more readable - 1891 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 17
  • Position: #398 / 622
  • Number of attempts: 2
Case preserving word replacement - 436 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
  • Position: #2 / 175
  • Number of attempts: 2
Rotating Philosophers Problem - 376 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
  • Position: #123 / 159
  • Number of attempts: 2
Generate English Alphabets - 438 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 42
  • Position: #177 / 194
  • Number of attempts: 1
Numbering a List - 1828 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 25
  • Position: #462 / 625
  • Number of attempts: 4
Increment, increment, increment.... - 568 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #164 / 371
  • Number of attempts: 1
Whitespace, empty lines and tabs - 2980 entries

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

  • Best score: 16
  • Best player score: 34
  • Position: #541 / 664
  • Number of attempts: 1
Simple text editing with Vim - 11637 entries

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

  • Best score: 13
  • Best player score: 16
  • Position: #1978 / 3413
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 6015 entries

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

  • Best score: 32
  • Best player score: 49
  • Position: #1206 / 1482
  • 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