[TxMt] Re: Disable softwrap in tm_properties?

René Schwaiger sanssecours at f-m.fm
Thu May 21 06:37:51 UTC 2015


Hi Carpii,

> On 21 May 2015, at 5:22 , Carpii UK <carpii.uk at gmail.com> wrote:
> 
> I often use TM as a general purpose text editor (and softwrap is useful in those cases)
> But for coding I never want it enabled.
> 
> Is there a way to set this is tm_properties, in a way that will override the restored GUI prefs?

just add the following to `~/.tm_properties`:

    [ source ]
    softWrap = false

    [ text ]
    softWrap = true

Soft-Wrapping for text should be the default though (see `TextMate.app/Contents/Resources/Default.tmProperties`), so it might also work if you leave out the last two lines.

> Various git posts and the FAQ suggest you can *enable* it in tm_properties, even when gui setting has it disabled
> 
> But I'm not having much luck doing the inverse
> 
> https://gist.github.com/dvessel/1478685
> https://github.com/textmate/textmate/wiki/FAQ
> 
> Thanks

Kind regards,
  René


More information about the textmate mailing list