On 5/8/17 2:18 PM, Eduardo Bustamante wrote:
> dualbus@debian:~/src/gnu/bash$ for fn in edit-and-execute-command
> kill-line yank yank-pop; do echo $fn:; fn=$fn ./bash --noprofile
> --norc -ic 'bind -q $fn; bind -u $fn; bind -q $fn'|sed 's/^/  /'; done
> edit-and-execute-command:
>   edit-and-execute-command can be invoked via "\C-x\C-e".
>   edit-and-execute-command can be invoked via "\C-x\C-e".

This is more of a documentation problem. Unless you use the `-m' option,
the commands act on the current keymap, which is either `emacs' or
(usually) `vi-insert'.  The man page isn't clear on that.

Using 'bind -u -m emacs-ctlx edit-and-execute-command' works.  Similarly
for 'bind -u -m emacs-meta yank-pop'.

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

Reply via email to