dwt1--dotfiles/.config/nvim/after/plugin/telescope.rc.lua

31 lines
667 B
Lua

-------------------------------------------------
-- DT'S NEOVIM CONFIGURATION
-- Neovim website: https://neovim.io/
-- DT's dotfiles: https://gitlab.com/dwt1/dotfiles
-------------------------------------------------
--
local status, telescope = pcall(require, "telescope")
if not status then
return
end
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
},
},
},
},
})
telescope.load_extension("file_browser")