bug-bash
[Top][All Lists]
Advanced

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

Re: About `M-C-e` expand result `'` failed


From: Chet Ramey
Subject: Re: About `M-C-e` expand result `'` failed
Date: Tue, 6 Feb 2024 14:59:21 -0500
User-agent: Mozilla Thunderbird

On 2/4/24 2:35 AM, Martin D Kealey wrote:

PS: Sadly M-C-r seems to be already taken, so I can't just hop one key over.

You can rebind it, you know. Anyway, let's assume the existence of a new
bindable command that (shell) quotes the (shell? readline?) words on a
line. Let's assume that this new command is bound to some sequence like
\C-xq. Then you can use a macro to create something like what you want:

"\M-\C-w":"\M-\C-e\C-xq"

with each command being separately undoable.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/




reply via email to

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