-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.inputrc
More file actions
39 lines (33 loc) · 900 Bytes
/
.inputrc
File metadata and controls
39 lines (33 loc) · 900 Bytes
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
set editing-mode vi
set keymap vi-command
set show-mode-in-prompt on
set vi-cmd-mode-string "\1\e[0m\2 \1\e[38;5;124m\2(cmd) \1\e[0m\2"
set vi-ins-mode-string "\1\e[0m\2 \1\e[36;1m\2(ins) \1\e[0m\2"
set completion-ignore-case On
set visible-stats On
set completion-prefix-display-length 3
# colors
set colored-stats On
set visible-stats On
set mark-symlinked-directories On
set colored-completion-prefix On
set menu-complete-display-prefix On
$if mode=vi
set keymap vi-command
# these are for vi-command mode
Control-l: clear-screen
"Q": vi-insertion-mode
set keymap vi-insert
# these are for vi-insert mode
Control-l: clear-screen
Control-a: beginning-of-line
Control-e: end-of-line
Control-w: backward-kill-word
Control-p: previous-history
Control-n: next-history
Control-x: backward-delete-char
$endif
# Allow UTF-8 input and output
set input-meta on
set output-meta on
set convert-meta off