I know you can disable the re-indenting of text for textmate as a whole, but how is this done on a per-bundle basis?
I remember Allan mentioning something about a "commands.plist" file, but I can't find a reference for exactly what that is.
Thanks in advance.
On May 17, 2006, at 17:18, Oliver Taylor wrote:
I know you can disable the re-indenting of text for textmate as a whole, but how is this done on a per-bundle basis?
I remember Allan mentioning something about a "commands.plist" file, but I can't find a reference for exactly what that is.
This is what Allan wrote a little while ago:
This is possible by loading the command.plist that TextMate saves to disk and add (in the first <dict>…</dict>):
<key>disableOutputAutoIndent</key>
<true/>
Currently there is no GUI option to toggle it (from within the bundle editor).
On 18/5/2006, at 0:18, Oliver Taylor wrote:
I know you can disable the re-indenting of text for textmate as a whole, but how is this done on a per-bundle basis?
You should know that you can use ctrl-cmd V to paste without re- indenting.
There is no way to disable the feature for a given scope (language/ bundle), it is however possible to setup “dummy” rules for the particular scope to affect he indent. But how much that would buy you, I don’t know.
But I think it should be easy to add a preference to disable it per scope.