-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinputrc
More file actions
43 lines (32 loc) · 1.05 KB
/
inputrc
File metadata and controls
43 lines (32 loc) · 1.05 KB
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
$include /etc/inputrc
# Enable incremental history searching with up and down arrow keys
"\e[A": history-search-backward
"\e[B": history-search-forward
# Just ensure that the left and right arrow keys continue working
"\e[C": forward-char
"\e[D": backward-char
# Enable history expansion with space
# E.g. typing !!<space> will replace the !! with your last command
# https://bugs.python.org/issue9748
$if Bash
Space: magic-space
$endif
# $if Bash
# "\C-w": unix-filename-rubout
# set bind-tty-special-chars off
# "\C-u": kill-whole-line
# "\C-w": backward-kill-word
# $endif
# Case insensitive path completion
set completion-ignore-case on
# Treat dash and underscore as equivalent in completion
set completion-map-case on
# Display matches for ambiguous patterns at first tab press
set show-all-if-ambiguous on
# Immediately add a trailing slash when autocompleting symlinks to directories
set mark-symlinked-directories on
# Colorize completion prompts
set colored-stats on
# Append char to indicate type
set visible-stats on
$include ~/.inputrc.local