[EMAIL PROTECTED] wrote:
> $ bind '"\e.":"\e>\e_"'
> $ : 1
> $ : 2
> $ : 3
> $ : 4
> $
>>> I want now typing ^R 2 ^E M-. to put a 4 at the end of the line...
> ...and not wipe out the 2, which is what the above bind did.
OK, you're not going to be able to do that, since you're moving away
from the
$ bind '"\e.":"\e>\e_"'
$ : 1
$ : 2
$ : 3
$ : 4
$
>> I want now typing ^R 2 ^E M-. to put a 4 at the end of the line...
...and not wipe out the 2, which is what the above bind did.
BASH_VERSION='3.1.17(1)-release'
[EMAIL PROTECTED] wrote:
> C> "\M-.":"\M->\M-_"
> Thanks but that doesn't work.
> $ : 1
> $ : 2
> $ : 3
> $ : 4
> $
> I want now typing ^R 2 ^E M-. to put a 4 at the end of the line but
> the above macro does not.
Try bind '"\e.":"\e>\e_"'
That worked for me when I used it, since I use ESC as the
C> "\M-.":"\M->\M-_"
Thanks but that doesn't work.
$ : 1
$ : 2
$ : 3
$ : 4
$
I want now typing ^R 2 ^E M-. to put a 4 at the end of the line but
the above macro does not.
[EMAIL PROTECTED] wrote:
> As there years pass I use ESC . daily hoping that it will get the last
> chunk of the previous line on my screen, despite any ^P's or ^R's I
> might have done.
>
> Never have I wanted it to consider those ^P's and ^R's.
Since there are two key sequences pre-bound to yan
A> I think you want ESC _ which will pull in the last word of the
A> previous command.
Thanks but it's
$ man bash|grep M-_
yank-last-arg (M-., M-_)
insert-last-argument (M-., M-_)
the same as M-., whose behavior I was railing against.
I think you want ESC _ which will pull in the last word of the previous
command.
Arnold
In article <[EMAIL PROTECTED]> you write:
>As there years pass I use ESC . daily hoping that it will get the last
>chunk of the previous line on my screen, despite any ^P's or ^R's I
>might have done.
>
>Never
As there years pass I use ESC . daily hoping that it will get the last
chunk of the previous line on my screen, despite any ^P's or ^R's I
might have done.
Never have I wanted it to consider those ^P's and ^R's.
So even though you said that was a early design choice, perhaps you
could still leave