[Inputrc] init

This commit is contained in:
2026-03-07 01:36:30 +01:00
parent 7ebe0a5d4b
commit 5e2e481726

28
.inputrc Normal file
View File

@@ -0,0 +1,28 @@
# Vi mode
set editing-mode vi
set keymap vi
set show-mode-in-prompt on
set vi-ins-mode-string "\1\e[32m\2[I] \1\e[0m\2"
set vi-cmd-mode-string "\1\e[31m\2[N] \1\e[0m\2"
# exclude .files
set match-hidden-files off
set show-all-if-ambiguous on
set show-all-if-unmodified on
set colored-stats on
set colored-completion-prefix on
set mark-symlinked-directories on
set completion-ignore-case on
# Ignore duplicates in history where supported
set skip-completed-text on
"\C- ": shell-expand-line
"\C-x": glob-expand-word
Control-g: "g\n"
Control-y: "| ccze\n"
Control-o: "\C-u yazi\n\C-u"
Control-l: "\C-u clear -x && ls\n"