From 045f0e2a75a80a4ddb5a1ffefe96a5c5e65b4d02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Thu, 7 Dec 2023 14:08:22 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20config(yazi):=20open=20tex?= =?UTF-8?q?t=20file=20in=20a=20detached=20terminal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/yazi/yazi.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/yazi/yazi.toml b/.config/yazi/yazi.toml index 596828fd..4659fd83 100644 --- a/.config/yazi/yazi.toml +++ b/.config/yazi/yazi.toml @@ -19,7 +19,9 @@ folder = [ ] archive = [{ exec = 'file-roller "$1"', desc = "Extract here" }] pdf = [{ exec = 'zathura "$1"', desc = "Open" }] -text = [{ exec = '$EDITOR "$@"', block = true }] +text = [ + { exec = 'pypr toggle yazi & kitty --detach $EDITOR "$@"', block = true }, +] image = [ { exec = 'geeqie "$@"', desc = "Open" }, { exec = '''exiftool "$1"; echo "Press enter to exit"; read''', block = true, desc = "Show EXIF" },