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?
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
Hi Carpii,
On 21 May 2015, at 5:22 , Carpii UK carpii.uk@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é