2023-11-30 15:59:49 +00:00
|
|
|
local builtin = require("telescope.builtin")
|
2023-10-30 20:37:23 +00:00
|
|
|
|
2023-11-30 15:59:49 +00:00
|
|
|
vim.keymap.set("n", "<leader>ff", builtin.find_files, {})
|
|
|
|
vim.keymap.set("n", "<leader>fg", builtin.live_grep, {})
|
|
|
|
vim.keymap.set("n", "<leader>fb", builtin.buffers, {})
|
|
|
|
vim.keymap.set("n", "<leader>fr", builtin.lsp_references, {})
|
|
|
|
vim.keymap.set("n", "<leader>fs", builtin.lsp_document_symbols, {})
|
2023-10-30 20:37:23 +00:00
|
|
|
|
2023-11-30 15:59:49 +00:00
|
|
|
require("telescope").setup({
|
|
|
|
pickers = {
|
|
|
|
find_files = { theme = "dropdown" },
|
|
|
|
live_grep = { theme = "dropdown" },
|
|
|
|
buffers = { theme = "dropdown" },
|
|
|
|
lsp_references = { theme = "dropdown" },
|
|
|
|
lsp_document_symbols = { theme = "dropdown" },
|
|
|
|
},
|
|
|
|
})
|