blob: 824d03f2ae92c04a7e3526d74b94734d4ea1736e (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# inputrc -*- conf -*-
## Info:
# https://www.masteringemacs.org/article/keyboard-shortcuts-every-command-line-hacker-should-know-about-gnu-readline
# https://ss64.com/bash/syntax-inputrc.html
# Include the system inputrc
$include /etc/inputrc
# Emacs shell-like history navigation
"\ep": history-search-backward
"\en": history-search-forward
### Global settings
set expand-tilde on
# Show completions using LS_COLORS
set colored-stats on
set colored-completion-prefix on
# Ignore case in completions
set completion-ignore-case On
# Show ... if common prefix is longer than 3 characters
set completion-prefix-display-length 3
# Show symlinked directories with a slash
set mark-symlinked-directories On
# Show completions immediately
set show-all-if-ambiguous On
set show-all-if-unmodified On
# Show types (like ls -F)
set visible-stats On
# Better pasting
set enable-bracketed-paste on
# Blink parens
set blink-matching-paren on
### Bash
$if Bash
# Wrap the command line in $( ... )
"\C-xq": "\C-a$(\C-e)"
# C-M-o : dabbrev-expand
"\e\C-o": dabbrev-expand
$endif
### foot
$if term=foot
set show-mode-in-prompt on
set emacs-mode-string "\1\e]133;A\e\\\2"
# Uncomment and/or adjust if you're using the vi editing-mode.
# set vi-cmd-mode-string "\1\e]133;A\e\\\2"
# set vi-ins-mode-string "\1\e]133;A\e\\\2"
$endif
|