Trying out TextWrangler since my TextMate trial is about to expire and I'm not sure it's worth the cash to keep using it. The main thing I'm missing is the ability to cut the entire line that the cursor is on without having to select it (which I could accomplish through a TextMate macro). Yeah, I can hit ⌘L ⌘X, but I'd like to map this sequence to ^X so I can do it purely with my left hand. Seems like this should be easy, but it's beyond me. What's the best way to get this functionality?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
|
This is the solution I came up with. I created the following script:
And bound it to ^X in Window > Palettes > Scripts. I've never used AppleScript before, so there might be a better/cleaner way to do this, but this seems to work fine. |
|||||
|
|
I don't know if this is possible with TextWrangler. The method I use is to go to preferences and turn on single click line selection. With this you click once to the left of the line and just delete the line like normal. |
|||
|
|