bash (no vi mode at line start), hyperland (term key), yazi (zathura)

This commit is contained in:
2024-06-28 22:56:39 +02:00
parent e50284111b
commit da18d28504
4 changed files with 12 additions and 4 deletions

View File

@ -10,3 +10,7 @@ PS1='\e[34m\u@\h\e[0m \e[32m\W\e[0m \$ '
function before_command() { echo -ne '\e[2 q'; }
trap before_command DEBUG
if [[ -f /usr/share/bash-completion/bash_completion ]]; then
. /usr/share/bash-completion/bash_completion
fi

View File

@ -1,7 +1,7 @@
set editing-mode vi
set show-mode-in-prompt on
set vi-ins-mode-string \1\e[6 q\2\e[31m[+]\e[0m \2
set vi-cmd-mode-string \1\e[2 q\2\e[32m[:]\e[0m \2
set vi-ins-mode-string \1\e[6 q\2
set vi-cmd-mode-string \1\e[2 q\2
set keymap vi-command
"k": history-substring-search-backward