mywiki/linux/bash/inputrc

27 lines
659 B
Plaintext
Raw Normal View History

2023-09-02 13:54:58 +02:00
"\e[5~": history-search-backward
"\e[6~": history-search-forward
2023-05-25 16:28:29 +02:00
2023-09-02 13:54:58 +02:00
#set editing-mode vi
#set show-mode-in-prompt on
2023-05-25 16:28:29 +02:00
2023-07-29 17:16:35 +02:00
# SET THE MODE STRING AND CURSOR TO INDICATE THE VIM MODE
# FOR THE NUMBER AFTER `\e[`:
# 0: blinking block
# 1: blinking block (default)
# 2: steady block
# 3: blinking underline
# 4: steady underline
# 5: blinking bar (xterm)
# 6: steady bar (xterm)
2023-09-02 13:54:58 +02:00
#set vi-ins-mode-string (ins)\1\e[5 q\2
#set vi-cmd-mode-string (cmd)\1\e[1 q\2
2023-07-29 17:16:35 +02:00
#
2023-09-02 13:54:58 +02:00
#$if mode=vi
#set keymap vi-command
#"k": history-substring-search-backward
#"j": history-substring-search-forward
2023-07-29 17:16:35 +02:00
#
2023-09-02 13:54:58 +02:00
#set keymap vi-insert
#"\C-l": clear-screen
#$endif