-
Notifications
You must be signed in to change notification settings - Fork 1
/
dot.inputrc
40 lines (31 loc) · 1.17 KB
/
dot.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
##
## dotfiles -- Essential Unix Dot-Files
## Copyright (c) 1995-2020 Dr. Ralf S. Engelschall <[email protected]>
## Distributed under MIT <https://opensource.org/licenses/MIT> license.
##
## ~/.inputrc: bash(1) readline configuration
##
# be 8-bit clean
set input-meta on
set output-meta on
# allow the use of 8-bit characters (like the German umlauts)
# However this makes the meta key not work as a meta key, which could
# be annoying to those who do not need to type in 8-bit characters.
set meta-flag on
set convert-meta off
# show all completions immediately instead of ringing the bell
set show-all-if-ambiguous on
set show-all-if-unmodified on
# add a trailing slash when autocompleting symlinks to directories
set mark-symlinked-directories on
# make UP/DOWN to perform incremental history search
"\e[A": history-search-backward
"\e[B": history-search-forward
# make LEFT/RIGHT to character-wise move backward/forward
"\e[C": forward-char
"\e[D": backward-char
# make Alt/Meta+LEFT/SHIFT-RIGHT to word-wise move backward/forward
"\C-ap": shell-backward-word
"\C-an": shell-forward-word
# include optional local configuration
$include ~/.dotfiles/inputrc