aboutsummaryrefslogtreecommitdiffstats
path: root/mandriva/inputrc.csh
diff options
context:
space:
mode:
Diffstat (limited to 'mandriva/inputrc.csh')
-rw-r--r--mandriva/inputrc.csh25
1 files changed, 25 insertions, 0 deletions
diff --git a/mandriva/inputrc.csh b/mandriva/inputrc.csh
new file mode 100644
index 00000000..f520f800
--- /dev/null
+++ b/mandriva/inputrc.csh
@@ -0,0 +1,25 @@
+# but tcsh command line doesn't use inputrc, so we have to define the
+# keys here:
+bindkey "\e[3~" delete-char
+bindkey "^[[^@" beginning-of-line
+bindkey "[5~" down-history
+bindkey "[6~" up-history
+bindkey "\e[1~" beginning-of-line
+bindkey "\e[4~" end-of-line
+bindkey "\e\C-h" backward-delete-word
+bindkey "\e\C-?" delete-word
+bindkey "\e\e[3~" delete-word
+# rxvt
+bindkey "\e[7~" beginning-of-line
+bindkey "\e[8~" end-of-line
+# some xterms
+bindkey "\e[H" beginning-of-line
+bindkey "\e[F" end-of-line
+# nxterms
+bindkey "\e[\C-@" beginning-of-line
+bindkey "\e[e" end-of-line
+# some more X11 oddity
+bindkey "\eOD" backward-char
+bindkey "\eOC" forward-char
+bindkey "\eOB" down-history
+bindkey "\eOA" up-history