-
Notifications
You must be signed in to change notification settings - Fork 0
/
.inputrc
42 lines (35 loc) · 1.05 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
set editing-mode vi
set keymap vi
set show-all-if-ambiguous on
set visible-stats on
set match-hidden-files off
set mark-symlinked-directories on
# https://stackoverflow.com/questions/45136948/how-to-correctly-link-patched-gnu-readline-library-to-all-existing-programs
set show-mode-in-prompt on
set vi-cmd-mode-string "\1\e[2 q\2"
set vi-ins-mode-string "\1\e[6 q\2"
# https://github.com/jessfraz/dotfiles/blob/master/.inputrc
set page-completions off
set completion-query-items 200
set skip-completed-text on
# Allow UTF-8 input and output, instead of showing stuff like $'\0123\0456'
set input-meta on
set output-meta on
set convert-meta off
# Don't record changes in history
set revert-all-at-newline
# Remove ESC delay
set keyseq-timeout 1
set colored-stats On
set completion-prefix-display-length 3
#set mark-modified-lines on
#set show-all-if-ambiguous on
#"f":vi-search
#"/":vi-char-search
"\e[A":history-search-backward
"\e[B":history-search-forward
$if mode=vi
set keymap vi-command
"gg": beginning-of-history
"G": end-of-history
$endif