From b1e52dde09ee25a53a32a468613c95f6ca6e97d6 Mon Sep 17 00:00:00 2001 From: cswimr Date: Tue, 4 Feb 2025 14:37:40 -0600 Subject: [PATCH] improve telescope file browser command --- nixos/nvim/plugins/telescope.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/nvim/plugins/telescope.nix b/nixos/nvim/plugins/telescope.nix index 2d876ed..46c6a91 100644 --- a/nixos/nvim/plugins/telescope.nix +++ b/nixos/nvim/plugins/telescope.nix @@ -18,6 +18,7 @@ enable = true; settings = { hijack_netrw = false; + grouped = true; }; }; }; @@ -95,7 +96,7 @@ { mode = "n"; key = "te"; - action = ":Telescope file_browser"; + action = ":Telescope file_browser path=%:p:h select_buffer=true"; options = { desc = "File Explorer"; silent = true;