You should have a look at the Help file within the LaTeX bundle, there's a number of different autocompletion commands in the LaTeX bundle. For the particular case you quoted, i.e. creating new environments, you would create it by first typing abstract and then pressing cmd-{ (cmd-shift-[ in US keyboards). (This is the command named "Insert Environment based on current word". You can also try to press cmd-{ before typing anything and see the options you get. If you want to autocomplete plain commands, then typing \ and the first couple of letters, and then pressing esc should do exactly what you want.
Finally, you might want to have a look at the screencasts if you haven't seen them yet:
http://skiadas.dcostanet.net/afterthought/list-of-my-textmate-pages/
Haris
Thanks, I had a closer look at these, and they probably are efficient ways to provide autocompletion. I sort of prefer a list that follows my typing than a keyword though (I think it's a bad habit to type "document" and then let TM wrap it in a \begin{}\end{} environment. If you ever have to switch to another editor for some reason, it's gonna be a pain.) Have you had a chance to try Kile? I found its autocompletion a dream.
I quite like the "ESC" way, though this key is quite far on my keyboard. Is there a way to change the mapping for the "TAB" which i never use for instance?
thanks again,
baptiste
___________________________________________________________________________ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com