3 ms·
ESC _ or M-_ does work in vi mode though (and does the same thing as ESC ./M-.). Search for "yank-last-arg" in the bash manual.
by mkl 9y ago
ESC _ or M-_ does work in vi mode though (and does the same thing as ESC ./M-.). Search for "yank-last-arg" in the bash manual.
- tux1968 9y agoThank you. Went searching how to do it in Zsh as well when the Zshell Line Editor (zle) is configured in vi mode: $ bindkey -M viins '\e.' insert-last-word Will make ESC-. work from insert mode.