mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 15:04:59 +08:00
nvim: make fb open browser in current file's parent dir
This commit is contained in:
parent
44d1de753a
commit
e78d0a90ca
1 changed files with 2 additions and 1 deletions
|
|
@ -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("<leader>fb", ":Telescope file_browser<cr>")
|
||||
nmap("<leader>fb", ":Telescope file_browser path=%:p:h<cr>")
|
||||
nmap("<leader>fB", ":Telescope file_browser<cr>")
|
||||
'';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue