-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinputrc
More file actions
26 lines (26 loc) · 713 Bytes
/
inputrc
File metadata and controls
26 lines (26 loc) · 713 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
# https://wiki.archlinux.org/index.php/readline#Editing_mode
# vi mode
set editing-mode vi
$if mode=vi
set keymap vi-command
set show-mode-in-prompt On
# these are for vi-command mode
"\e[A":history-search-backward
"\e[B":history-search-forward
j:history-search-forward
k:history-search-backward
set keymap vi-insert
# these are for vi-insert mode
"\e[A":history-search-backward
"\e[B":history-search-forward
$endif
# Color files by types
set colored-stats On
# Append char to indicate type
set visible-stats On
# Mark symlinked directories
set mark-symlinked-directories On
# Color the common prefix
set colored-completion-prefix On
# Color the common prefix in menu-complete
set menu-complete-display-prefix On