AutoYADM commit: 2025-05-11 20:39:08
This commit is contained in:
parent
460a3c56f9
commit
2d83917ca3
2 changed files with 12 additions and 8 deletions
|
@ -7,3 +7,13 @@ hook global WinSetOption filetype=go %{
|
||||||
set-option window expandtab false
|
set-option window expandtab false
|
||||||
set-option window softtabstop 4
|
set-option window softtabstop 4
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hook global WinSetOption filetype=kak %{
|
||||||
|
set-option window formatcmd "%val{config}/scripts/kakfmt"
|
||||||
|
set-option window expandtab false
|
||||||
|
}
|
||||||
|
|
||||||
|
hook global WinSetOption filetype=markdown %{
|
||||||
|
set-option window formatcmd "dprint fmt --stdin md"
|
||||||
|
}
|
||||||
|
|
|
@ -9,14 +9,6 @@ hook global ModuleLoaded wayland %{
|
||||||
set-option global termcmd 'footclient sh -c'
|
set-option global termcmd 'footclient sh -c'
|
||||||
}
|
}
|
||||||
|
|
||||||
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)
|
# open tutor (needs curl)
|
||||||
define-command trampoline -docstring "open a tutorial" %{
|
define-command trampoline -docstring "open a tutorial" %{
|
||||||
evaluate-commands %sh{
|
evaluate-commands %sh{
|
||||||
|
@ -114,3 +106,5 @@ def git_blame %{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
map -docstring "blame" global git b ": git_blame"
|
map -docstring "blame" global git b ": git_blame"
|
||||||
|
|
||||||
|
map -docstring "format" global user F ": format<ret>"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue