Use copy-prev-shell-word instead of copy-prev-word
authorMikael Berthe <mikael@lilotux.net>
Sun, 22 Mar 2015 15:04:45 +0100
changeset 30 e26330cd408f
parent 29 e8353916b439
child 31 c293e65d905f
Use copy-prev-shell-word instead of copy-prev-word
zshrc.d/10-default-bindings.zrc
zshrc.d/60-vi-showmode.zrc
--- a/zshrc.d/10-default-bindings.zrc	Sun Mar 22 15:04:11 2015 +0100
+++ b/zshrc.d/10-default-bindings.zrc	Sun Mar 22 15:04:45 2015 +0100
@@ -9,7 +9,7 @@
 bindkey '[5~' history-beginning-search-backward # PgUp
 bindkey '[6~' history-beginning-search-forward  # PgDn
 bindkey '^[^I'  reverse-menu-complete             # ESC-Tab
-bindkey '^Xc'   copy-prev-word
+bindkey '^Xc'   copy-prev-shell-word
 bindkey '^Xf'   _correct_filename
 bindkey '^Xm'   _most_recent_file
 
--- a/zshrc.d/60-vi-showmode.zrc	Sun Mar 22 15:04:11 2015 +0100
+++ b/zshrc.d/60-vi-showmode.zrc	Sun Mar 22 15:04:45 2015 +0100
@@ -225,7 +225,7 @@
 bindkey -M viins '[3~' delete-char
 bindkey -M viins ''  up-line-or-history
 bindkey -M viins ''  down-line-or-history
-bindkey -M viins '^Xc'   copy-prev-word
+bindkey -M viins '^Xc'   copy-prev-shell-word
 bindkey -M viins '^Xf'   _correct_filename
 bindkey -M viins '^_'    undo
 bindkey -M viins '^K'    vi-change-eol