X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/ad8b383d21775f621bab9a72a76413fc9fdd00ef..8048047c5304404856874683f1ca2b46fa7faf5b:/.zsh/zshrc/80_bindkeys diff --git a/.zsh/zshrc/80_bindkeys b/.zsh/zshrc/80_bindkeys index 4c5ed7a..1959bbd 100644 --- a/.zsh/zshrc/80_bindkeys +++ b/.zsh/zshrc/80_bindkeys @@ -1,15 +1,27 @@ -# zshrc/90_bindkeys +# zshrc/80_bindkeys # # Defines key bindings # # Copyright © 1994–2008 martin f. krafft # Released under the terms of the Artistic Licence 2.0 # -# Source repository: http://git.madduck.net/v/etc/zsh.git +# Source repository: git://git.madduck.net/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