Skip to content

Commit 23a8701

Browse files
author
Vincent Scheib
committed
inputrc
1 parent 272a811 commit 23a8701

File tree

1 file changed

+73
-0
lines changed

1 file changed

+73
-0
lines changed

inputrc

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
#__scheib's addition:
2+
set completion-ignore-case On
3+
4+
#__scheib copied from /etc/inputrc to ~/.inputrc:
5+
6+
# /etc/inputrc - global inputrc for libreadline
7+
# See readline(3readline) and `info rluserman' for more information.
8+
9+
# Be 8 bit clean.
10+
set input-meta on
11+
set output-meta on
12+
13+
# To allow the use of 8bit-characters like the german umlauts, uncomment
14+
# the line below. However this makes the meta key not work as a meta key,
15+
# which is annoying to those which don't need to type in 8-bit characters.
16+
17+
# set convert-meta off
18+
19+
# try to enable the application keypad when it is called. Some systems
20+
# need this to enable the arrow keys.
21+
# set enable-keypad on
22+
23+
# see /usr/share/doc/bash/inputrc.arrows for other codes of arrow keys
24+
25+
# do not bell on tab-completion
26+
# set bell-style none
27+
# set bell-style visible
28+
29+
# some defaults / modifications for the emacs mode
30+
$if mode=emacs
31+
32+
# allow the use of the Home/End keys
33+
"\e[1~": beginning-of-line
34+
"\e[4~": end-of-line
35+
36+
# allow the use of the Delete/Insert keys
37+
"\e[3~": delete-char
38+
"\e[2~": quoted-insert
39+
40+
# mappings for "page up" and "page down" to step to the beginning/end
41+
# of the history
42+
# "\e[5~": beginning-of-history
43+
# "\e[6~": end-of-history
44+
45+
# alternate mappings for "page up" and "page down" to search the history
46+
# "\e[5~": history-search-backward
47+
# "\e[6~": history-search-forward
48+
49+
# mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
50+
"\e[1;5C": forward-word
51+
"\e[1;5D": backward-word
52+
"\e[5C": forward-word
53+
"\e[5D": backward-word
54+
"\e\e[C": forward-word
55+
"\e\e[D": backward-word
56+
57+
$if term=rxvt
58+
"\e[8~": end-of-line
59+
"\eOc": forward-word
60+
"\eOd": backward-word
61+
$endif
62+
63+
# for non RH/Debian xterm, can't hurt for RH/Debian xterm
64+
# "\eOH": beginning-of-line
65+
# "\eOF": end-of-line
66+
67+
# for freebsd console
68+
# "\e[H": beginning-of-line
69+
# "\e[F": end-of-line
70+
71+
$endif
72+
"\ep":history-search-backward
73+
"\en":history-search-forward

0 commit comments

Comments
 (0)