-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.inputrc
executable file
·51 lines (39 loc) · 1.06 KB
/
.inputrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Start with the defaults from /etc/inputrc
# (since that's no longer parsed when this file exists!)
# Be 8 bit clean.
set input-meta on
set output-meta on
# some defaults / modifications for the emacs mode
$if mode=emacs
# allow the use of the Home/End keys
"\e[1~": beginning-of-line
"\e[4~": end-of-line
# allow the use of the Delete/Insert keys
"\e[3~": delete-char
"\e[2~": quoted-insert
# mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
"\e[1;5C": forward-word
"\e[1;5D": backward-word
"\e[5C": forward-word
"\e[5D": backward-word
"\e\e[C": forward-word
"\e\e[D": backward-word
$if term=rxvt
"\e[8~": end-of-line
"\eOc": forward-word
"\eOd": backward-word
$endif
$endif
# Ignore case when doing so
set completion-ignore-case on
# Don't tab-complete hidden files (unless the . is typed)
set match-hidden-files off
# Add the / to completed symlinks to directories
set mark-symlinked-directories on
set show-all-if-ambiguous on
set visible-stats on
set page-completions off
# Expand history immediately (press space)
$if Bash
Space: magic-space
$endif