diff --git a/home/neovim.nix b/home/neovim.nix index 83dafa6..a570e60 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -115,7 +115,8 @@ in -- To get telescope-file-browser loaded and working with telescope, -- you need to call load_extension, somewhere after setup function: require("telescope").load_extension "file_browser" - nmap("fb", ":Telescope file_browser") + nmap("fb", ":Telescope file_browser path=%:p:h") + nmap("fB", ":Telescope file_browser") ''; }