aboutsummaryrefslogtreecommitdiff
path: root/stow/rcs/.inputrc
blob: a495164521adcd5915e98a387aecd0356345d6c1 (plain)
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
# Read by readline (the program bash and probably other shells use for reading input).

# Disable bell
set bell-style none

# Set vi editing mode
set editing-mode vi
set show-mode-in-prompt on
set vi-ins-mode-string \1\e[6 q\2
set vi-cmd-mode-string \1\e[2 q\2

# Shows all possible matches the first time TAB is pressed instead of beeping.
set show-all-if-ambiguous on

# Shows file type (directory or executable) as a character when showing autocomplete targets.
set visible-stats on

# Move cursor to matching paren for a second when closing parenthesis
set blink-matching-paren

# Show colored completion and shared part of text to complete
set colored-completion-prefix on
set colored-stats on

# Ignore case for completion
set completion-ignore-case on

# Show everything in one column
set completion-display-width 1

# Make tab cycle through possible completions
TAB: menu-complete

# Make ^o add text to redirect output
Control-o: "> readlineOutput.tmp"