-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.inputrc
36 lines (27 loc) · 963 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
25
26
27
28
29
30
31
32
33
34
35
36
# see https://www.gnu.org/software/bash/manual/html_node/Readline-Init-File-Syntax.html#Readline-Init-File-Syntax
# Use Unicode & do NOT use the "8bit hack" to input/output non-ASCII characters
# See http://code.google.com/p/iterm2/wiki/Keybindings
set input-meta on
set output-meta on
set convert-meta off
# When pressing up or down arrows,
# show only history entries that match what was already typed
"\e[A":history-search-backward
"\e[B":history-search-forward
"\e[C": forward-char
"\e[D": backward-char
# Turn on case insensitivity for tab-completion
# Ex.: type "doc<tab>" to search for "Documents"
#set completion-ignore-case on
set show-all-if-ambiguous on
#TAB: menu-complete
## Readline behavior
## Complete symlinks to folders with trailing /
set mark-directories on
set mark-symlinked-directories on
set skip-completed-text on
# Insert-Option Macro
"\M-o": "\C-p\C-a\M-f "
set match-hidden-files off
set visible-stats on
set colored-stats on