-
Notifications
You must be signed in to change notification settings - Fork 295
/
Copy pathinputrc
executable file
·51 lines (29 loc) · 1.23 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
#!/bin/bash
# Readline library configuration options.
# http://ss64.com/bash/syntax-inputrc.html
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# If there are multiple matches for completion,
# make TAB cycle through them.
TAB: menu-complete
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Searching files via partial match.
# ↑
"\e[A":history-search-backward
# ↓
"\e[B":history-search-forward
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Disable beeping and window flashing.
set bell-style none
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Use the `vi` set of key bindings (default is `emacs`).
set editing-mode vi
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Use case-insensitive TAB autocompletion.
set completion-ignore-case on
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Perform partial completion on the first Tab press, and
# only start cycling full results on the second Tab press.
set menu-complete-display-prefix on
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Display a list of the matching files
set show-all-if-ambiguous on