From d422bc2b77ece72be1098bf05728275ef3306ee5 Mon Sep 17 00:00:00 2001 From: venomade Date: Wed, 8 Apr 2026 15:07:12 +0100 Subject: Before the Return of the Mac Asahi Bugs - Forked GL is very annoying to deal with - Fairydust branch requires 8GB of RAM for display - AArch64 Linux is not very compatible with much software - DRM and other video related things are buggy/do not work - Updating can often break fairydust --- config/kak/compilation-mode_classic.kak | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 config/kak/compilation-mode_classic.kak (limited to 'config/kak/compilation-mode_classic.kak') diff --git a/config/kak/compilation-mode_classic.kak b/config/kak/compilation-mode_classic.kak new file mode 100644 index 0000000..348fcf0 --- /dev/null +++ b/config/kak/compilation-mode_classic.kak @@ -0,0 +1,20 @@ +# Requires kakpipe and unbuffer + +declare-option str compile_last_command "" + +define-command -docstring "Compile: run a command in a fifo buffer" compile -params 1.. %{ + set-option global compile_last_command "%arg{@}" + evaluate-commands %sh{ exec kakpipe fifo -s $kak_session -- unbuffer "$@" } +} + +define-command -docstring "Recompile: re-run the last compile command" recompile %{ + evaluate-commands %sh{ + if [ -z "$kak_opt_compile_last_command" ]; then + echo 'fail "No previous compile command"' + else + exec kakpipe fifo -s $kak_session -- unbuffer $kak_opt_compile_last_command + fi + } +} + + -- cgit 1.4.1-2-gfad0