-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathinputrc
50 lines (43 loc) · 1.02 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
set input-meta on
set output-meta on
set convert-meta off
set bell-style visible
set colored-stats on
set completion-ignore-case on
set mark-directories on
set mark-symlinked-directories on
set show-all-if-ambiguous on
set show-all-if-unmodified on
set skip-completed-text on
set visible-stats on
set editing-mode vi
$if Bash
Space: magic-space
$endif
set keymap vi-command
"\e[A": history-search-backward
"\e[B": history-search-forward
"gg": beginning-of-history
"G": end-of-history
set keymap vi-insert
"\e[A": history-search-backward
"\e[B": history-search-forward
Control-a: beginning-of-line
Control-b: backward-char
Control-d: delete-char
Control-e: end-of-line
Control-f: forward-char
Control-g: vi-movement-mode
Control-k: kill-line
Control-l: clear-screen
Control-n: next-history
Control-p: previous-history
"\C-x\C-l": redraw-current-line
set keymap emacs-ctlx
v: vi-editing-mode
Control-l: redraw-current-line
Control-v: "\C-xv\e"
Escape: "\C-xv\e"
set keymap emacs
"\e[A": history-search-backward
"\e[B": history-search-forward