[TxMt] Re: Text > Reformat Text (Ctrl-Q) doesn't respect custom wrap column
Adam Sharp
adsharp at me.com
Mon Jun 4 23:24:46 UTC 2012
On 06/01/2012, at 3:31 PM, Adam Sharp wrote:
> Is there something I can configure to get this to work, or maybe a bundle command workaround?
As a workaround, I've created this bundle with a single macro (bound to Opt-Cmd-Q) that is hard-coded to wrap to 72 chars, using column selection mode:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Reformat Paragraph.tmbundle.zip
Type: application/zip
Size: 2732 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20120605/fb383029/attachment.zip>
-------------- next part --------------
It's by no means an elegant solution, but it does the trick for me. You can easily modify it to use more or fewer `moveRightAndModifySelection:` commands to increase or decrease the column width.
Open to any ideas for improvement (especially ones that actually use TM_COLUMNS).
Adam
More information about the textmate
mailing list