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: Hans Ginzel
Subject: Re: [Bug-readline] feature request: prev/next-logical-line in multiline command
Date: Mon, 13 Jul 2015 20:06:25 +0200
User-agent: RoundCube Webmail/0.7.2

Dne 13.07.2015 19:45, Chet Ramey napsal:

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

bind '"C-xp":"e80C-b"'

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

Thank you. I have tried

bind '"\C-xp":"\e'$COLUMNS'\C-b"'
bind '"\C-xn":"\e'$COLUMNS'\C-f"'

It works. But in other programs, like psql client to PostgreSQL, there is no bind command and probably no script called after window size has changed.

Regards,
Hans



reply via email to

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