add open in file manager keymap in nvim

This commit is contained in:
Yan Lin 2025-11-05 03:24:08 +01:00
parent 8de4e51663
commit 9caeac0da8

View file

@ -262,6 +262,12 @@ in
action = ":lua open_file_with_system_app()<CR>"; action = ":lua open_file_with_system_app()<CR>";
options = { desc = "Open file with system default app"; }; options = { desc = "Open file with system default app"; };
} }
{
mode = "n";
key = "<leader>f";
action = ":!thunar %:h &<CR><CR>";
options = { desc = "Open current file directory in file manager"; };
}
# Markdown rendering # Markdown rendering
{ {