I'm editing C files with TM2, and the auto indentation is often wrong,
and forces the cursor to move to an unexpected position when I start
writing a new line.
I'm looking for information/guide to:
* disable the whole auto-indentation feature
* configure the auto-indentation feature, if it's feasible
* cancel the last auto-indentation action: Cmd-Z removes both the
indentation and the typed character. In many others editors, Cmd-Z
cancels the automatic action, then a second hit remove the last typed
char. Is there an equivalent in TM2?
Thanks,
Emmanuel.
_______________________________________________
textmate mailing list
text...@lists.macromates.com
http://lists.macromates.com/listinfo/textmate
Ok, thanks
And there was much rejoicing! Do you know if it's possible to do this
globally instead of separately for each bundle?
--
Steve King
Sr. Software Engineer
Arbor Networks
+1 734 821 1461
www.arbornetworks.com <http://www.arbornetworks.com/>
>> + Add a settings item to the bundle in question (make sure that the scope for the setting item is set correctly).
>> + Add this dict to the settings: { disableIndentCorrections = '1'; }
>
> And there was much rejoicing! Do you know if it's possible to do this globally instead of separately for each bundle?
I think the answer’s right there on the first line. Create the settings in your personal bundle but *don’t* provide a scope at all and it should apply everywhere. (I haven’t tested this.)
--
Rob McBroom
<http://www.skurfer.com/>