dots/.inputrc

34 lines
837 B
Plaintext
Raw Normal View History

2020-12-09 23:42:22 +01:00
$include /etc/inputrc
set editing-mode vi
set keymap vi
set show-mode-in-prompt on
2021-12-31 12:45:04 +01:00
set vi-ins-mode-string "\1\e[1;32m\2■ \1\e[0m\2"
set vi-cmd-mode-string "\1\e[1;31m\2■ \1\e[0m\2"
2023-08-02 16:33:25 +02:00
2020-12-09 23:42:22 +01:00
set show-all-if-ambiguous on
2023-08-02 16:33:25 +02:00
set show-all-if-unmodified off
set completion-ignore-case on
set completion-map-case on
set completion-display-width 0
set page-completions off
set completion-query-items 128
2020-12-20 15:41:21 +01:00
set visible-stats on
2023-08-02 16:33:25 +02:00
set skip-completed-text on
2020-12-20 15:41:21 +01:00
set mark-symlinked-directories on
2020-12-09 23:42:22 +01:00
set colored-completion-prefix on
$if mode=vi
set keyseq-timeout 200
set keymap vi-command
"\e[A": history-search-backward
"\e[B": history-search-forward
j: history-search-forward
k: history-search-backward
set keymap vi-insert
"jj": vi-movement-mode
"\e[A": history-search-backward
"\e[B": history-search-forward
"\C-l": clear-screen
$endif