-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinputrc
33 lines (25 loc) · 1.09 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
# TIP: `bind 'set completion-ignore-case on'` to set options manually.
# Don't beep, use visible feedback.
set bell-style visible
# Use case insensitive completion
set completion-ignore-case on
# Consider '_' and '-' same character with different case
set completion-map-case off
# Don't ring the bell when there are several options: just show them
#set show-all-if-ambiguous on
# Displays (if any) the common prefix of possible completions before the list
set menu-complete-display-prefix on
# Use the tab to cycle through completion options instead of redisplaying them
# "\t": menu-complete
# "\e[Z": menu-complete-backward
"\e[Z": menu-complete
# Seems to make history expansion apply on the line that you are typing (so you
# can see it), instead of having to press enter to have the expansion applied.
$if Bash
Space: magic-space
$endif
# I hate you, Spanish keyboard, for making '{}[]' so difficult to type.
"\C-xb": "{}\C-b"
"\C-xr": "[]\C-b"
# Note to self: bind -p should list all the junk that is bound to something, so
# I don't accidentally change a default that later I find it's awesome.