From: James Edward Gray II Date: 2007-03-12T21:32:49+09:00 Subject: Re: I need to learn... On Mar 12, 2007, at 5:28 AM, 7stud 7stud wrote: > Morton Goldberg wrote: >> the tab key is the key used to >> complete code snippets. >> ...if you highlight the two lines >> >> foo = bar >> zot ||= [] >> >> and hit cntrl-shift-W, inserts the code snippet > > I don't get the digit gymnastics that most text editors require you to > perform to use auto completion. Is there no way to bind the auto > completion to the space bar in TextMate? If you've never coded with > space-bar auto-completion, you haven't lived! The type of auto > completion I'm talking about seems like such a simple feature to > implement: you have a flat text file with a list of character > sequences > and the corresponding code(phrase, name, whatever), and then the > typing > the characters plus hitting the space bar produce the code. Morton was showing an unusual TextMate example above. Typically in TM you type a sequence and push tab. For example, try these in TM: ea-tab inj-tab ase-tab James Edward Gray II