From c50986e61a0833b96bcc73193713f08cc35ddc46 Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 16 Dec 2008 09:11:43 -0600 Subject: [PATCH] cleaned up zshrc --- zshrc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/zshrc b/zshrc index 57b7dab..b9e380e 100644 --- a/zshrc +++ b/zshrc @@ -182,7 +182,7 @@ bindkey ' ' magic-space bindkey -M emacs '\ee' edit-command-line case $TERM in - xterm*) + screen|xterm*) bindkey '\e[H' beginning-of-line bindkey '\e[F' end-of-line bindkey '\eOH' beginning-of-line @@ -212,13 +212,6 @@ case $TERM in bindkey '\e[1;5D' emacs-backward-word bindkey '\e[3~' delete-char ;; - screen*) - bindkey '\e[1~' beginning-of-line - bindkey '\e[4~' end-of-line - bindkey '\e[1;5C' emacs-forward-word - bindkey '\e[1;5D' emacs-backward-word - bindkey '\e[3~' delete-char - ;; linux) bindkey '\e[1~' beginning-of-line bindkey '\e[4~' end-of-line