]> git.donarmstrong.com Git - zsh.git/blobdiff - .zsh/zshrc/80_bindkeys
customise some bindings from the guide
[zsh.git] / .zsh / zshrc / 80_bindkeys
index 999d2db64ed5f33789217888099cf63cdb28049a..5bc0c20c1f53acc27f690923672ddd27aae376c3 100644 (file)
@@ -14,4 +14,14 @@ bindkey -e
 # history expansion on pressing space
 bindkey ' ' magic-space
 
+# prefix search (up to cursor position)
+bindkey '^xp' history-beginning-search-backward
+bindkey '^xn' history-beginning-search-forward
+
+# repeat the previous shell-word ($WORDCHARS)
+bindkey '\e=' copy-prev-shell-word
+
+# allow for better ad-hoc multiline editing
+bindkey '\eq' push-line-or-edit
+
 # vim:ft=zsh