-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.inputrc
33 lines (30 loc) · 846 Bytes
/
.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
set horizontal-scroll-mode off
set completion-ignore-case on
set bell-style none
set editing-mode vi
set expand-tilde on
set convert-meta off
set input-meta on
set output-meta on
set show-all-if-ambiguous on
set visible-stats on
set mark-symlinked-directories on
set skip-completed-text on
set enable-bracketed-paste on
# Use the string that has already been typed as the prefix for searching
# through commands (i.e. more intelligent Up/Down-arrow behavior)
"\e[B": history-search-forward
"\e[A": history-search-backward
"\eOA": history-search-forward
"\eOB": history-search-backward
# Home & End Keys
"\e[1~": beginning-of-line
"\e[4~": end-of-line
$if mode=vi
set keymap vi-command
"gg": beginning-of-history
"G": end-of-history
set keymap vi-insert
"jj": vi-movement-mode
"\C-p": history-search-backward
"\C-l": clear-screen