From 5d823bbd19dc8589cfacdbe51ee5260042dacab2 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 25 Oct 2025 17:22:00 +0530 Subject: Add terminal singleton command + use with gitu and daffm --- autoload/files.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoload/files.kak') diff --git a/autoload/files.kak b/autoload/files.kak index b928c33..001ef07 100644 --- a/autoload/files.kak +++ b/autoload/files.kak @@ -3,7 +3,7 @@ def find -docstring "find files" -menu -params 1 \ -shell-script-candidates %{ fd -t f --hidden --color=never -E .git } def file-manager -params .. %{ - connect terminal env "EDITOR=kcr edit" sh -c "DAFFM_PATH_RELATIVE_TO=$PWD daffm -c @kak %arg{@};" + terminal-singleton files env "EDITOR=kcr edit" sh -c "DAFFM_PATH_RELATIVE_TO=$PWD daffm -c @kak %arg{@};" } declare-user-mode buffer -- cgit v1.3.1