mirror of
https://github.com/xHyroM/dotfiles.git
synced 2024-11-14 03:08:06 +01:00
12 lines
312 B
Lua
12 lines
312 B
Lua
local builtin = require("telescope.builtin")
|
|
|
|
-- find files
|
|
vim.keymap.set("n", "<leader>pf", builtin.find_files, {})
|
|
|
|
-- git files
|
|
vim.keymap.set("n", "<C-p>", builtin.git_files, {})
|
|
|
|
-- project search
|
|
vim.keymap.set("n", "<leader>ps", function()
|
|
builtin.grep_string({ search = vim.fn.input("Grep > ") })
|
|
end)
|