AutoYADM commit: 2025-06-06 16:10:06
This commit is contained in:
parent
9c2bf2b566
commit
53b8fc9ac6
3 changed files with 24 additions and 24 deletions
|
@ -95,17 +95,17 @@ map -docstring 'Extend to file end' global user n "gj<a-l>l"
|
|||
|
||||
# Zathura pdf preview only for Typst files
|
||||
|
||||
hook global WinSetOption filetype=typst %{
|
||||
define-command -docstring %{
|
||||
Spawns a Zathura pdf preview and Typst watcher for the currently open Typst file
|
||||
} typst %{
|
||||
nop %sh{
|
||||
{
|
||||
"$kak_config/scripts/kak-typ-zathura.fish" -k -w "$kak_buffile" "$kak_client_pid"
|
||||
} > /dev/null 2>&1 < /dev/null &
|
||||
}
|
||||
}
|
||||
}
|
||||
# hook global WinSetOption filetype=typst %{
|
||||
# define-command -docstring %{
|
||||
# Spawns a Zathura pdf preview and Typst watcher for the currently open Typst file
|
||||
# } typst %{
|
||||
# nop %sh{
|
||||
# {
|
||||
# "$kak_config/scripts/kak-typ-zathura.fish" -k -w "$kak_buffile" "$kak_client_pid"
|
||||
# } > /dev/null 2>&1 < /dev/null &
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
|
||||
define-command -docstring "Create a scratch buffer" scratch %{
|
||||
edit -scratch
|
||||
|
@ -197,6 +197,3 @@ map -docstring 'popup shell' global user . ': popup-shell<ret>'
|
|||
# }
|
||||
# }
|
||||
|
||||
hook -once global BufCreate ^(?!(\*scratch\*|\*debug\*)) %{
|
||||
delete-buffer *scratch*
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue