# HG changeset patch # User Mikael Berthe # Date 1427033085 -3600 # Node ID e26330cd408f799552daec87c6aafe7466ea001b # Parent e8353916b4398972accbb35891ee93e16714c0e8 Use copy-prev-shell-word instead of copy-prev-word diff -r e8353916b439 -r e26330cd408f zshrc.d/10-default-bindings.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 diff -r e8353916b439 -r e26330cd408f zshrc.d/60-vi-showmode.zrc --- 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