8 lines
418 B
Lua
8 lines
418 B
Lua
local builtin = require("telescope.builtin")
|
|
vim.keymap.set("n", "<leader>pf", builtin.find_files, { desc = "Find files" })
|
|
vim.keymap.set("n", "<C-p>", builtin.git_files, { desc = "Find git files" })
|
|
vim.keymap.set("n", "<leader>ps", function()
|
|
builtin.grep_string({ search = vim.fn.input("Grep > ") })
|
|
end, { desc = "Find string" })
|
|
vim.keymap.set("n", "<leader>vh", builtin.help_tags, { desc = "Find help tags" })
|