]> git.donarmstrong.com Git - zsh.git/blobdiff - .zsh/zshrc/80_bindkeys
add ND/NF global aliases
[zsh.git] / .zsh / zshrc / 80_bindkeys
index c1071470d31150381e52036168fd0ac3beab9bde..1959bbd5c9d2b5934bcfa9ac70888473c6cd15bf 100644 (file)
@@ -5,11 +5,23 @@
 # Copyright © 1994–2008 martin f. krafft <madduck@madduck.net>
 # 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