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

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

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

Note that there are 2^6-1 characters.

  • Best score: 21
  • Best player score: 23
  • Position: #15 / 77
  • Number of attempts: 2
Make it more readable - 2041 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 17
  • Position: #425 / 659
  • Number of attempts: 2
Case preserving word replacement - 477 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 / 186
  • Number of attempts: 2
Rotating Philosophers Problem - 422 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: #130 / 170
  • Number of attempts: 2
Generate English Alphabets - 540 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 42
  • Position: #190 / 216
  • Number of attempts: 1
Numbering a List - 1970 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 25
  • Position: #492 / 662
  • Number of attempts: 4
Increment, increment, increment.... - 712 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #200 / 420
  • Number of attempts: 1
Whitespace, empty lines and tabs - 4083 entries

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

  • Best score: 7
  • Best player score: 34
  • Position: #697 / 872
  • Number of attempts: 1
Simple text editing with Vim - 13682 entries

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

  • Best score: 13
  • Best player score: 16
  • Position: #2271 / 3920
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 7737 entries

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

  • Best score: 7
  • Best player score: 49
  • Position: #1443 / 1901
  • 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