-
-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
alt + . in insert mode doesn't substitute to last argument! #287
Comments
Hi @d9k Thanks for your information. May I know if the feature Thanks & Regards |
No, I think it's built-in zsh / bash feature |
Try adding this to your # Normal mode
function append-last-word { ((++CURSOR)); zle insert-last-word; }
zle -N append-last-word
bindkey -M vicmd '\e.' append-last-word
# Insert mode
bindkey -M viins '\e.' insert-last-word See also https://unix.stackexchange.com/questions/685008/how-to-use-alt-in-zsh-with-vim-bindings |
I was having this problem as well and this worked for me. Thanks! |
@jeffreytse, I think this should be added to README and then issue can be closed 🙏 |
General information
Problem description
alt + .
in insert mode doesn't substitute to last argument! Very inconvenient.The text was updated successfully, but these errors were encountered: