From 7856369662fd557c0c3a0a6a0873ad7157d311e7 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Sun, 11 May 2025 01:25:08 -0400 Subject: [PATCH] AutoYADM commit: 2025-05-11 01:25:08 --- .config/kak/kakrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/kak/kakrc b/.config/kak/kakrc index a2c2b338..3ed723d1 100644 --- a/.config/kak/kakrc +++ b/.config/kak/kakrc @@ -89,11 +89,11 @@ map -docstring "goto next buffer" global user i ": bn" map global normal _ map -docstring "commenct line" global normal ":comment-line" define-command open_yazi %{ - nop %sh{ - rm -f /tmp/yazi-path + edit %sh{ + rm -f /tmp/yazi-path &>/dev/null + footclient -d error yazi $kak_buffile --chooser-file=/tmp/yazi-path &>/dev/null + cat /tmp/yazi-path } - terminal yazi %val{buffile} --chooser-file=/tmp/yazi-path - edit %sh{cat /tmp/yazi-path} } map -docstring "open file in yazi" global user ": open_yazi"