You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
531 B
Lua
19 lines
531 B
Lua
return function()
|
|
local telescope = require("telescope")
|
|
local builtin = require("telescope.builtin")
|
|
|
|
telescope.setup({
|
|
defaults = { path_display = { "smart" } },
|
|
pickers = { find_files = { find_command = { "fd", "-Ht", "f" } } },
|
|
})
|
|
|
|
telescope.load_extension("fzf")
|
|
telescope.load_extension("ui-select")
|
|
telescope.load_extension("cder")
|
|
|
|
-- Keybinds
|
|
vim.keymap.set("n", "<C-t>", vim.cmd.Telescope)
|
|
vim.keymap.set("n", "<C-f>", builtin.find_files)
|
|
vim.keymap.set("n", "<C-g>", builtin.live_grep)
|
|
end
|