Add history-complete-older/newer shortcuts for vi mode
authorMikael Berthe <mikael@lilotux.net>
Sun, 15 Jul 2012 15:58:14 +0200
changeset 14 77db3f389db7
parent 13 e1da4a7a9e92
child 15 5f43e2cd8ebe
Add history-complete-older/newer shortcuts for vi mode
zshrc.d/60-vi-showmode.zrc
--- a/zshrc.d/60-vi-showmode.zrc	Sun Jul 15 15:57:45 2012 +0200
+++ b/zshrc.d/60-vi-showmode.zrc	Sun Jul 15 15:58:14 2012 +0200
@@ -228,6 +228,8 @@
 bindkey -M viins '^O'    accept-line-and-down-history
 bindkey -M viins '^T'    transpose-chars
 bindkey -M viins '^Xm'   _most_recent_file
+bindkey -M viins '^P'    _history-complete-older
+bindkey -M viins '^N'    _history-complete-newer
 
 bindkey -M viins -s '^X^H' 'hash -r\n'