actually commiting for once
This commit is contained in:
21
nvim/config/telescope-filebrowser.lua
Normal file
21
nvim/config/telescope-filebrowser.lua
Normal file
@@ -0,0 +1,21 @@
|
||||
require("telescope").setup {
|
||||
extensions = {
|
||||
file_browser = {
|
||||
theme = "ivy",
|
||||
-- disables netrw and use telescope-file-browser in its place
|
||||
hijack_netrw = true,
|
||||
mappings = {
|
||||
["i"] = {
|
||||
-- your custom insert mode mappings
|
||||
},
|
||||
["n"] = {
|
||||
-- your custom normal mode mappings
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
-- 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"
|
||||
vim.keymap.set("n", "<leader>fv", ":Telescope file_browser<CR>")
|
||||
Reference in New Issue
Block a user