My first post. Since I haven't received any messages from the list yet
(just signed up), I didn't know whether I had to prepend something
like [Textmate] to the Subject line, so I didn't.
I would like to to the delete the current line using Shift + Delete
First Attempt... Macro
Jump to beginning of current line, hit CTRL+K, hit back-delete, press down
This worked OK for a while, but I ran into probems when trying to
delete blank lines, and the carat position is in a less than desirable
2nd Attempt... Command
Got pretty far with this one. I read in the entire document into an
array, sliced the line, and set the output to replace the document.
However, couldn't place the carat position anywhere. I believe you can
only define the carat position when inserting as a snippet, not
replacing the document.
Of course, there may be an even easier way to do this, but I don't know it.
I would like to to the delete the current line using
Shift + Delete
I think ctrl-shift-k (in the Text Bundle) does what you're after ...
you can just change the command that runs it to shift-delete if you
Or .. if you don't want to override that bundle, you can select that
macro from the Bundle Editor window and hit that Plus-plus button you
see @ the bottom of the window over there to duplicate it, move it to
your personal bundle and change the activation key to the one you like.
This would work for now. However, ideally the carat would be in the
same position on the new current line as it was in the deleted line
(or at the end of the line if that position exceeds the length of the
deleted line). Right now, the carat hops to the beginning of the line.
I'm going to sniff around at some other commands to see if it can be done.
On 4/26/06, Trevor Harmon <trevor(a)vocaro.com> wrote:
Go to the Bundle Editor, then go to the Source
bundle and choose
Delete Line. Change the Activation to Shift+Delete.
Oops, I meant the Text bundle.
For new threads USE THIS: textmate(a)lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)