summaryrefslogtreecommitdiff
path: root/04_KeyBindings.zsh
diff options
context:
space:
mode:
authorhugues <hugues@a0e5b806-a6f9-0310-978d-cbce73f8a913>2006-06-14 22:04:51 +0000
committerHugues Hiegel <hugues@hiegel.fr>2008-03-07 14:15:07 +0100
commitfb8e6a413979695cf315b259d84f77abc5c629db (patch)
tree63508cf94e26931fe261713d7f258e019fdfa534 /04_KeyBindings.zsh
parent3dcbc2edb014013cc5af208c1a01c3d5f06bd0fb (diff)
Zsh power !!
git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@245 a0e5b806-a6f9-0310-978d-cbce73f8a913
Diffstat (limited to '04_KeyBindings.zsh')
-rw-r--r--04_KeyBindings.zsh38
1 files changed, 0 insertions, 38 deletions
diff --git a/04_KeyBindings.zsh b/04_KeyBindings.zsh
deleted file mode 100644
index 225a2f2..0000000
--- a/04_KeyBindings.zsh
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/zsh
-##
-## bindkey
-##
-
-bindkey "\e[3~" delete-char # delete
-bindkey "\e[2~" overwrite-mode # insert
-bindkey "\e[A" up-line-or-history # up
-bindkey "\e[B" down-line-or-history # down
-bindkey "" history-search-backward # META-up
-bindkey "" history-search-forward # META-down
-bindkey "\e\e[C" forward-word # ESC right
-bindkey "\e\e[D" backward-word # ESC left
-bindkey "\e\e[3~" kill-region # ESC del
-
-#aterm
-test $TERM = "rxvt" -o $TERM = "xterm" &&
-{
- bindkey "\e[1~" beginning-of-line # home
- bindkey "\e[4~" end-of-line # end-of-line
- bindkey "\eOc" forward-word # CTRL right
- bindkey "\eOd" backward-word # CTRL left
- bindkey "\e[3$" vi-set-buffer # SHIFT del
- bindkey "\eOa" history-search-backward # CTRL UP
- bindkey "\eOb" history-search-forward # CTRL DOWN
-}
-# (gnome-terminal)
-test $TERM = "xterm" &&
-{
- bindkey "\eOH" beginning-of-line # home
- bindkey "\eOF" end-of-line # end-of-line
-}
-#bindkey "\C-t" gosmacs-transpose-chars # J, ca c'est un truc pour toi
-# ne pas oublier de s'en servir :
-# vi-match-bracket est sur ^X^B par defaut
-# npo : quote-region est sur ESC-" par defaut
-# npo : which-command est sur ESC-? par defaut
-