AutoYADM commit: 2025-05-10 23:05:08

This commit is contained in:
Daniel Fichtinger 2025-05-10 23:05:09 -04:00
parent 4d4d89bc83
commit 66ef43d34f
2 changed files with 5 additions and 7 deletions

View file

@ -12,6 +12,10 @@ hook global WinSetOption filetype=kak %{
set-option window formatcmd "%val{config}/scripts/kakfmt"
}
hook global WinSetOption filetype=markdown %{
set-option window formatcmd "dprint fmt --stdin md"
}
# open tutor (needs curl)
define-command trampoline -docstring "open a tutorial" %{
evaluate-commands %sh{
@ -39,6 +43,7 @@ map -docstring "paste the clipboard before" global user P "! wl-paste -n<ret>"
map -docstring "replace with the clipboard" global user R '"_d! wl-paste -n<ret>'
map -docstring "quit" global user q ":q<ret>"
map -docstring "save" global normal <c-s> ": w<ret>"
map -docstring "close current buffer" global user x ": db<ret>"
map -docstring "goto previous buffer" global user m ": bp<ret>"