AutoYADM commit: 2025-05-21 16:45:14
This commit is contained in:
parent
3dba6d45c5
commit
050b548393
3 changed files with 21 additions and 4 deletions
6
.config/fish/functions/kakkill.fish
Normal file
6
.config/fish/functions/kakkill.fish
Normal 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
|
|
@ -25,6 +25,15 @@ hook global WinSetOption filetype=typst %{
|
||||||
unset-option window formatcmd
|
unset-option window formatcmd
|
||||||
remove-hooks window typst-auto-format
|
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 %{
|
hook global WinSetOption filetype=fish %{
|
||||||
|
|
|
@ -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 'add surrounding' global surround s ': enter-user-mode surround-add<ret>'
|
||||||
map -docstring 'delete surrounding' global surround d ':surround-delete<ret>'
|
map -docstring 'delete surrounding' global surround d ':surround-delete<ret>'
|
||||||
map -docstring 'replace surrounding' global surround r ':surround-replace<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>'
|
||||||
~
|
~
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue