# zshrc/80_bindkeys # # Defines key bindings # # Copyright © 1994–2017 martin f. krafft # Released under the terms of the Artistic Licence 2.0 # # 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 # 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 # fix home/end keys (for mosh) bindkey "\e[7~" beginning-of-line bindkey "\e[8~" end-of-line # vim:ft=zsh