From 25f723e586957a7544c71b630f6485047c4b1e7f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 31 Aug 2008 20:19:41 +0200 Subject: Added some keybindings from the Debian zshrc --- etc/keys | 4 ++++ etc/rc | 1 + 2 files changed, 5 insertions(+) create mode 100644 etc/keys diff --git a/etc/keys b/etc/keys new file mode 100644 index 0000000..2507aaa --- /dev/null +++ b/etc/keys @@ -0,0 +1,4 @@ +## vim:ft=zsh +[[ -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 diff --git a/etc/rc b/etc/rc index 30ba9fa..a5093b4 100644 --- a/etc/rc +++ b/etc/rc @@ -19,6 +19,7 @@ source $ZDIR/function source $ZDIR/options source $ZDIR/prompt source $ZDIR/directories +source $ZDIR/keys source $ZDIR/alias/suffix source $ZDIR/alias/font source $ZDIR/alias/default -- cgit v1.2.3