From 1dfb8e7e7b5d6f8e8b148d6164b8e630abd88cc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= Date: Thu, 20 Jun 2024 21:39:27 +0200 Subject: [PATCH] yazi: add config --- yazi/.config/yazi/yazi.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 yazi/.config/yazi/yazi.toml diff --git a/yazi/.config/yazi/yazi.toml b/yazi/.config/yazi/yazi.toml new file mode 100644 index 0000000..5ba25fb --- /dev/null +++ b/yazi/.config/yazi/yazi.toml @@ -0,0 +1,13 @@ +[opener] +imv = [ + { run = 'imv "$@"', orphan = true }, +] +nvim_cd = [ + { run = 'nvim -c "cd $@"', block = true } +] + +[open] +prepend_rules = [ + { mime = "image/*", use = "imv" }, + { mime = "inode/directory", use = "nvim_cd" } +]