1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

zsh: add Ctrl+W (emacs delete word) in Vi mode

Yes, I see the irony in this one, it's just too convenient to pass up
This commit is contained in:
Joe Groocock 2020-03-21 23:25:48 +00:00
parent 9e9ba8a76f
commit 080e92b740
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -107,6 +107,7 @@ bindkey '^F' fzf-file-widget # Ctrl+F file search (fzf)
bindkey "^F" fzf-file-widget bindkey "^F" fzf-file-widget
bindkey "^V" edit-command-line bindkey "^V" edit-command-line
bindkey -M vicmd "^V" edit-command-line bindkey -M vicmd "^V" edit-command-line
bindkey -M vicmd "^W" backward-delete-word
bindkey -M vicmd d vi-backward-char bindkey -M vicmd d vi-backward-char
bindkey -M vicmd h vi-down-line-or-history bindkey -M vicmd h vi-down-line-or-history