1
Fork 0
dots/nvim/lua/plugins/telescope.lua

38 lines
830 B
Lua
Raw Normal View History

2023-08-21 09:56:16 +00:00
return {
"nvim-telescope/telescope.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
"kyazdani42/nvim-web-devicons",
"nvim-telescope/telescope-file-browser.nvim",
{ "nvim-telescope/telescope-fzf-native.nvim", build = "make" }
},
config = function()
local telescope = require("telescope")
telescope.setup({
pickers = {
man_pages = {
sections = {"ALL"}
}
},
extensions = {
file_browser = {
grouped = true,
2023-08-29 23:41:29 +00:00
hidden = true,
respect_gitignore = false,
2023-08-21 09:56:16 +00:00
sorting_strategy = "ascending",
layout_config = {
prompt_position = "top"
}
}
}
})
telescope.load_extension("file_browser")
telescope.load_extension("fzf")
2023-08-29 23:41:29 +00:00
require("keymaps").telescope()
2023-08-21 09:56:16 +00:00
2023-08-29 23:41:29 +00:00
end
2023-08-21 09:56:16 +00:00
}