2022-11-25 12:03:22 +08:00

25 lines
589 B
Lua
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

local status, telescope = pcall(require, "telescope")
if not status then
vim.notify("没有找到 telescope")
return
end
telescope.setup({
defaults = {
-- 打开弹窗后进入的初始模式,默认为 insert也可以是 normal
initial_mode = "insert",
-- 窗口内快捷键
mappings = require("keybindings").telescopeList,
},
pickers = {
-- 内置 pickers 配置
find_files = {
-- 查找文件换皮肤,支持的参数有: dropdown, cursor, ivy
-- theme = "dropdown",
}
},
extensions = {
-- 扩展插件配置
},
})