From 9caeac0da8e5ec646d186b610d832cb23513908a Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Wed, 5 Nov 2025 03:24:08 +0100 Subject: [PATCH] add open in file manager keymap in nvim --- modules/nvim.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/nvim.nix b/modules/nvim.nix index c537f19..84bd2cb 100644 --- a/modules/nvim.nix +++ b/modules/nvim.nix @@ -262,6 +262,12 @@ in action = ":lua open_file_with_system_app()"; options = { desc = "Open file with system default app"; }; } + { + mode = "n"; + key = "f"; + action = ":!thunar %:h &"; + options = { desc = "Open current file directory in file manager"; }; + } # Markdown rendering {