aboutsummaryrefslogtreecommitdiff
path: root/autoload/files.kak
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-10-25 17:22:00 +0530
committerAkshay Nair <phenax5@gmail.com>2025-10-25 17:22:00 +0530
commit5d823bbd19dc8589cfacdbe51ee5260042dacab2 (patch)
treed17c2a51c3d7d3ea5ed6310e391372fe5b0be0ab /autoload/files.kak
parent593e775e9ccbdca3360f1bd0c6883c7973dcb46f (diff)
downloadkakoune-config-5d823bbd19dc8589cfacdbe51ee5260042dacab2.tar.gz
kakoune-config-5d823bbd19dc8589cfacdbe51ee5260042dacab2.zip
Add terminal singleton command + use with gitu and daffm
Diffstat (limited to 'autoload/files.kak')
-rw-r--r--autoload/files.kak2
1 files changed, 1 insertions, 1 deletions
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