bath update

This commit is contained in:
2026-08-18 15:57:16 +02:00
parent a9bd70c482
commit 3344ba2ad0
17 changed files with 91 additions and 218 deletions
+14 -5
View File
@@ -5,31 +5,39 @@ set editing-mode vi
set keymap vi-command
set keymap vi-insert
# Show vim mode indicators
set show-mode-in-prompt on
set show-mode-in-prompt On
set vi-ins-mode-string ">_"
set vi-cmd-mode-string "$_"
# aka set wildmode=longest:full:list,full (tab and shift+tab)
TAB: menu-complete
"\e[Z": menu-complete-backward
set show-all-if-ambiguous on
set menu-complete-display-prefix on
set show-all-if-ambiguous On
set menu-complete-display-prefix On
set visible-stats On
set colored-stats On
set colored-completion-prefix On
set completion-prefix-display-length 5
# aka vim cmd up/down
"\e[A":history-search-backward
"\e[B":history-search-forward
set mark-modified-lines On
# shift+enter
"OM": history-and-alias-expand-line
"\eOM": history-and-alias-expand-line
"\e[13;2u": history-and-alias-expand-line
"\"\"": "\"\e\ea\"\e\ei"
"''": "'\e\ea'\e\ei"
"()": "(\e\ea)\e\ei"
"{}": "{\e\ea}\e\ei"
set colored-stats On
"":"\C-W"
$if mode=vi
set keymap vi-command
"u": undo
"U": redo
"daw": "lbdW"
"yaw": "lbyW"
"caw": "lbcW"
@@ -90,4 +98,5 @@ set keymap vi-command
"ca:": "da:i"
# esc+* = https://superuser.com/a/216169
"K": history-and-alias-expand-line
"!": "\e^Iundo run "
$endif