From f2f668c60b108d0610f3485208a118d73a627beb Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Sun, 18 May 2025 22:53:24 -0400 Subject: [PATCH] AutoYADM commit: 2025-05-18 22:53:24 --- .config/kak/kakrc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.config/kak/kakrc b/.config/kak/kakrc index 40a11954..587edd8d 100644 --- a/.config/kak/kakrc +++ b/.config/kak/kakrc @@ -94,9 +94,13 @@ map -docstring 'case insensitive backward extend-search' global user '' L" map -docstring 'Extend to file end' global user n "gjl" -define-command 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 & + { + "$kak_config/scripts/kak-typ-zathura.fish" -k -w "$kak_buffile" "$kak_client_pid" + } > /dev/null 2>&1 < /dev/null & } }