[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ESC . vs. ^R, ^P again

From: Chet Ramey
Subject: Re: ESC . vs. ^R, ^P again
Date: Sun, 06 Jan 2008 14:10:57 -0500
User-agent: Thunderbird (Macintosh/20071031)

address@hidden 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 yank-last-arg, why not
create a macro that first performs M-> (to take you to the end of the
history), then invokes M-_ to yank the last argument of the last

Something like


would probably get you started.  The macro facility offers you a lot
of flexibility.


``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]