commit 0a80491285b26cd9011b0ac5fa68d8453c23b9f3
parent 6bf5e7a0b7f04e4df88fd712eba2fc1ec98d802e
Author: Chris Bracken <chris@bracken.jp>
Date: Fri, 22 Sep 2017 17:19:22 -0700
Use ctrl-Y binding for push-line
Has one advantage over 'q' in vi command mode: you remain in insert mode
and can continue typing directly, without the need for a switch back to
insert mode.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.zshrc b/.zshrc
@@ -23,7 +23,7 @@ setopt EXTENDED_GLOB
# vi-mode
bindkey -v
-bindkey -M vicmd 'q' push-line
+bindkey '^Y' push-line
bindkey '^R' history-incremental-search-backward
# completion