$ bind -p -m vi | grep vi-insertion # vi-insertion-mode (not bound) This was introduced in bash 4.0 and conflicts with the readline docs.
Small patch below... --- xoxo iza lib/readline/funmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/readline/funmap.c b/lib/readline/funmap.c index 64b0e41..62535bf 100644 --- a/lib/readline/funmap.c +++ b/lib/readline/funmap.c @@ -178,7 +178,7 @@ static const FUNMAP default_funmap[] = { { "vi-fword", rl_vi_fword }, { "vi-goto-mark", rl_vi_goto_mark }, { "vi-insert-beg", rl_vi_insert_beg }, - { "vi-insertion-mode", rl_vi_insertion_mode }, + { "vi-insertion-mode", rl_vi_insert_mode }, { "vi-match", rl_vi_match }, { "vi-movement-mode", rl_vi_movement_mode }, { "vi-next-word", rl_vi_next_word },