-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.inputrc
24 lines (21 loc) · 852 Bytes
/
.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
# Load the existing inputrc file.
# @see https://www.topbug.net/blog/2017/07/31/inputrc-for-humans
$include /etc/inputrc
"\C-p":history-search-backward
"\C-n":history-search-forward
# Make sure any programs that use readline library support vi mode.
# @see https://news.ycombinator.com/item?id=9723743
set editing-mode vi
# tab auto-completion case-insensitive just to reduce a few key strokes.
# @see http://askubuntu.com/a/87066
# @see http://hiltmon.com/blog/2013/03/12/better-bash-shell-expansion/
# @see http://www.reddit.com/r/commandline/comments/kbeoe/you_can_make_readline_and_bash_much_more_user/
set colored-stats On
set completion-ignore-case on
set completion-prefix-display-length 3
set mark-symlinked-directories on
set show-all-if-ambiguous on
set show-all-if-unmodified On
set visible-stats On
TAB: menu-complete
"\e[Z": "\e-1\C-i"