2023-12-24 19:46:29 +01:00
|
|
|
local builtin = require("telescope.builtin")
|
|
|
|
vim.keymap.set("n", "<leader>pf", builtin.find_files, { desc = "Find files" })
|
2023-12-26 22:03:57 +01:00
|
|
|
vim.keymap.set("n", "<C-p>", "<cmd>Telescope git_files<cr>", { desc = "Find git files" })
|
2023-12-24 19:46:29 +01:00
|
|
|
vim.keymap.set("n", "<leader>ps", function()
|
|
|
|
builtin.grep_string({ search = vim.fn.input("Grep > ") })
|
2023-12-24 12:06:23 +01:00
|
|
|
end, { desc = "Find string" })
|
2023-12-24 19:46:29 +01:00
|
|
|
vim.keymap.set("n", "<leader>vh", builtin.help_tags, { desc = "Find help tags" })
|