-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinputrc
More file actions
33 lines (28 loc) · 858 Bytes
/
inputrc
File metadata and controls
33 lines (28 loc) · 858 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
# Readline config
#
# Sean Nesdoly
# 2023-11-23
#-------------------------------------------------------------------------------
set editing-mode vi
# Decrease delay for ambiguous key sequences (Esc). Default = 500 ms.
set keyseq-timeout 100
# Change cursor type to block & pipe for NORMAL & INSERT modes, respectively
set show-mode-in-prompt on
set vi-ins-mode-string "\033[6 q"
set vi-cmd-mode-string "\033[2 q"
$if mode=vi
# NORMAL mode keybindings
set keymap vi-command
Control-l: clear-screen
Control-a: beginning-of-line
Control-e: end-of-line
# INSERT mode keybindings
set keymap vi-insert
Control-l: clear-screen
Control-a: beginning-of-line
Control-e: end-of-line
$endif
set colored-stats On
set visible-stats On
set colored-completion-prefix On
set mark-symlinked-directories On