bug-readline
[Top][All Lists]
Advanced

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

Re: [Bug-readline] feature request: prev/next-logical-line in multiline


From: Chet Ramey
Subject: Re: [Bug-readline] feature request: prev/next-logical-line in multiline command
Date: Mon, 13 Jul 2015 13:45:18 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 7/13/15 12:37 PM, Hans Ginzel wrote:
> Hello,
> 
> add please commands prev/next-logical-line
> which will move cursor "screen width" characters back/forward
> so it's looks like moving one editing line up/down in a (long) multi-line
> command.
> 
> Regards
> Hans Ginzel

Have you tried defining a macro and binding it to the key sequence you
want?  Something like:

bind '"\C-xp":"\e80\C-b"'

where `80' is replaced by your current screen width.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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