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 c...@case.edu http://tiswww.cwru.edu/~chet/