From b97b00074f1a5e35722bd12d7a3ce65f23deab8f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 3 Jan 2009 13:10:24 +0100 Subject: Fixed key bindings --- etc/keys | 3 +++ etc/rc | 1 - etc/zle | 2 -- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'etc') diff --git a/etc/keys b/etc/keys index 2507aaa..6527cd2 100644 --- a/etc/keys +++ b/etc/keys @@ -1,4 +1,7 @@ ## vim:ft=zsh +bindkey -e [[ -z $terminfo[kdch1] ]] || bindkey -M emacs $terminfo[kdch1] delete-char [[ -z $terminfo[khome] ]] || bindkey -M emacs $terminfo[khome] beginning-of-line [[ -z $terminfo[kend] ]] || bindkey -M emacs $terminfo[kend] end-of-line +bindkey '^Z' predict-on +bindkey '^X^Z' predict-off diff --git a/etc/rc b/etc/rc index 02b2bda..2031a07 100644 --- a/etc/rc +++ b/etc/rc @@ -33,7 +33,6 @@ source $ZDIR/completion (( ZPROFILE )) && source $ZDIR/profile ## misc -bindkey -e check_com -c dircolors && eval $(dircolors -b $HOME/packages/zsh/etc/dircolors) mesg n umask 077 diff --git a/etc/zle b/etc/zle index e5c6fc0..f0fb108 100644 --- a/etc/zle +++ b/etc/zle @@ -5,6 +5,4 @@ zle -N self-insert url-quote-magic autoload predict-on zle -N predict-on zle -N predict-off -bindkey '^Z' predict-on -bindkey '^X^Z' predict-off zstyle ':predict' verbose true -- cgit v1.2.3