-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.inputrc
31 lines (26 loc) · 829 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
# See http://lists.gnu.org/archive/html/bug-bash/2009-03/msg00033.html
set bind-tty-special-chars off
set bell-style none
# http://www.humbug.in/2010/enable-alt-key-in-xterm/
set meta-flag on
set convert-meta off
set output-meta on
# Define my favorite Emacs key bindings.
"\C-@": set-mark
"\C-w": kill-region
"\M-w": copy-region-as-kill
"\M-/" dabbrev-expand
# Use cycleable menu for completion
set menu-complete-display-prefix on
set show-all-if-ambiguous on
set colored-stats on
set colored-completion-prefix on
set completion-ignore-case on
TAB: menu-complete
"\e[Z": menu-complete-backward
# Filter history entries by what has already been entered.
"\e[A": history-search-backward
"\e[B": history-search-forward
# Disable beeps and do not display control characters.
set bell-style none
set echo-control-characters off