]> git.madduck.net Git - etc/zsh.git/blobdiff - .zsh/zshrc/80-zle

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Bind Home/End keys in Emacs mode to sol/eol
[etc/zsh.git] / .zsh / zshrc / 80-zle
index 78e3df85218abeac3e11d1b40388ae7df0bc4fb4..c4d9492f086f938a7619cba85d23e52c132583e3 100644 (file)
@@ -74,6 +74,10 @@ bindkey $terminfo[kbs] backward-delete-char
 bindkey '^a' beginning-of-line
 bindkey '^e' end-of-line
 
+# Home and End do too
+bindkey -e "^[[H" beginning-of-line
+bindkey -e "^[[F" end-of-line
+
 # \ew :: print pwd to status line
 function _whereami() {
   zle -M "${(%):-"%m:%~"}"