[TxMt] Re: TextMate 2 turn off auto-indent
Rob McBroom
mailinglist0 at skurfer.com
Thu Nov 8 18:45:21 UTC 2012
On Nov 8, 2012, at 11:47 AM, Freek Dijkstra <public at macfreek.nl> wrote:
> The MediaWiki bundle in TextMate 2 has a feature that when I type:
>
> Line1
> Line2
>
> It automatically reindents to:
>
> Line1
> Line2
Those look identical. I assume your message got mangled along the way to the list.
> Despite that I explicitly typed the two spaces.
> I find this rather annoying. I'm trying to turn this feature off.
Auto-indent is nice in response to pasting or hitting ↩, but TextMate 2 has a tendency to alter indentation when you start typing, which is insane. Is that what you mean?
Add a new “Settings” item to any bundle. (Most people have a personal bundle for stuff like this.) Set the scope to `*` and enter this
{ disableIndentCorrections = :true;
indentOnPaste = 'simple';
}
One of those is documented in the list archives (maybe the wiki?) and the other in the release notes if you want to know more.
--
Rob McBroom
<http://www.skurfer.com/>
More information about the textmate
mailing list