summaryrefslogtreecommitdiffstats
path: root/inputrc
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2007-09-11 12:39:51 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2007-09-11 12:39:51 +0000
commit25e03a3bb2c7bfbc1f3c177ee71c7f75683ebd9d (patch)
tree9afa5ad3fecc7aca66222da768ba0245ae479d65 /inputrc
downloadsetup-25e03a3bb2c7bfbc1f3c177ee71c7f75683ebd9d.tar
setup-25e03a3bb2c7bfbc1f3c177ee71c7f75683ebd9d.tar.gz
setup-25e03a3bb2c7bfbc1f3c177ee71c7f75683ebd9d.tar.bz2
setup-25e03a3bb2c7bfbc1f3c177ee71c7f75683ebd9d.tar.xz
setup-25e03a3bb2c7bfbc1f3c177ee71c7f75683ebd9d.zip
move everything under trunk directory
Diffstat (limited to 'inputrc')
-rw-r--r--inputrc88
1 files changed, 88 insertions, 0 deletions
diff --git a/inputrc b/inputrc
new file mode 100644
index 0000000..97bf96b
--- /dev/null
+++ b/inputrc
@@ -0,0 +1,88 @@
+## Mandriva Linux Configuration
+# (c) Mandriva 1999-2005
+# Chmouel Boudjnah, Pablo Saratxaga <pablo@mandriva.com>
+# $Id: inputrc 105875 2005-12-07 06:56:46Z flepied $
+
+
+# Show all if ambigious.
+set show-all-if-ambiguous on
+
+# 8Bits supports.
+set meta-flag on
+set convert-meta off
+set input-meta on
+set output-meta on
+
+# bash completions does not use more
+set page-completions off
+
+# definition of keys in vi mode if vi mode is set at login result
+# in totally messed up command line... so it safer to activate it
+# only for emacs mode; until the bug is fixed (in libreadline?)
+$if mode=emacs
+
+# Keyboard configuration
+"[2~": yank # Insert
+"[3~":delete-char # Suppr
+
+"[1~": beginning-of-line # Home
+"[4~": end-of-line # End
+
+# typing the beginning of a previous command then
+# PgUp/PgDw cycles trough history only for matching entries
+"[5~": history-search-backward # Previous
+"[6~": history-search-forward # Next
+
+# those two are for rxvt
+"\e[7~":beginning-of-line
+"\e[8~":end-of-line
+
+# on some xterm
+"\e[H": beginning-of-line
+"\e[F": end-of-line
+
+# on nxterms
+"\e[\C-@": beginning-of-line
+"\e[e": end-of-line
+
+$if term=xterm
+#
+# Application keypad and cursor of xterm
+# with NumLock ON
+#
+# Operators
+"\eOo": "/"
+"\eOj": "*"
+"\eOm": "-"
+"\eOk": "+"
+"\eOl": "+"
+"\eOM": accept-line
+
+# Colon and dot
+# "\eOl": ","
+"\eOn": "."
+
+# Numbers
+"\eOp": "0"
+"\eOq": "1"
+"\eOr": "2"
+"\eOs": "3"
+"\eOt": "4"
+"\eOu": "5"
+"\eOv": "6"
+"\eOw": "7"
+"\eOx": "8"
+"\eOy": "9"
+$endif
+
+#
+# Application keypad and cursor of xterm
+#
+"\eOD": backward-char
+"\eOC": forward-char
+"\eOA": previous-history
+"\eOB": next-history
+"\eOE": re-read-init-file
+
+# emacs mode
+$endif