/
.inputrc
39 lines (34 loc) · 1.02 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
# this makes the "delete" key work rather than
# just entering a ~
"\e[3~": delete-char
# these allow you to use ctrl+left/right arrow keys
# to jump the cursor over words
"\e[1;5C": forward-word # ctrl + right
"\e[1;5D": backward-word # ctrl + left
# these allow you to start typing a command and
# use the up/down arrow to auto complete from
# commands in your history
"\e[B": history-search-forward
"\e[A": history-search-backward
"\e[C": forward-char
"\e[D": backward-char
# this lets you hit tab to auto-complete a file or
# directory name ignoring case
set completion-ignore-case On
set completion-map-case On
set completion-query-items 400
set completion-display-width 0
set comment-begin #
set show-all-if-ambiguous On
set show-all-if-unmodified On
set visible-stats On
set colored-stats On
set echo-control-characters Off
set enable-bracketed-paste On
set expand-tilde On
set blink-matching-paren On
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[5~": beginning-of-history
"\e[6~": end-of-history
"\e[2~": quoted-insert