[TxMt] Add Line Breaks

Allan Odgaard throw-away-2 at macromates.com
Tue Nov 20 22:37:11 UTC 2007


On 20 Nov 2007, at 22:33, Robin Houston wrote:

> On 20/11/2007, Frank Eves <gold_eagle at mac.com> wrote:
>> - TextMate Soft Wrap set to 66 characters
>> - How do I Hard Wrap my document at 66 columns?
>
> As far as I know, TextMate doesn't have a built-in command to do this.
> You can use Text > Filter Through Command… to run some external
> formatter of your choice. Unfortunately the BSD version of fmt  
> included
> with OS X can't quite be made to do the right thing [...]

fold -sw66 though should do exactly what Frank wants. Or to make it  
actually use his soft wrap setting: fold -sw$TM_COLUMNS




More information about the textmate mailing list