AutoYADM commit: 2025-05-21 16:45:14

This commit is contained in:
Daniel Fichtinger 2025-05-21 16:45:14 -04:00
parent 3dba6d45c5
commit 050b548393
3 changed files with 21 additions and 4 deletions

View file

@ -0,0 +1,6 @@
function kakkill --description 'select kakoune sessions to kill'
set ids (kak -l | fzf --multi)
for id in $ids
echo kill | kak -p "$id"
end
end

View file

@ -25,6 +25,15 @@ hook global WinSetOption filetype=typst %{
unset-option window formatcmd
remove-hooks window typst-auto-format
}
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=fish %{

View file

@ -99,4 +99,6 @@ map -docstring 'surround' global normal k ': enter-user-mode surround<ret>'
map -docstring 'add surrounding' global surround s ': enter-user-mode surround-add<ret>'
map -docstring 'delete surrounding' global surround d ':surround-delete<ret>'
map -docstring 'replace surrounding' global surround r ':surround-replace<ret>'
map -docstring 'select inside object' global surround i '<a-i>'
map -docstring 'select around object' global surround a '<a-a>'
~