X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/ed53f8c3fed60ee969db84a0501722955e78831c..ad7c4bae9781483a15c2a11c9db247edf7c3c365:/.zsh/zshrc/80_bindkeys?ds=sidebyside diff --git a/.zsh/zshrc/80_bindkeys b/.zsh/zshrc/80_bindkeys index c107147..5bc0c20 100644 --- a/.zsh/zshrc/80_bindkeys +++ b/.zsh/zshrc/80_bindkeys @@ -8,8 +8,20 @@ # Source repository: http://git.madduck.net/v/etc/zsh.git # +# use emacs keybindings by default 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