mirror of
https://github.com/xHyroM/dotfiles.git
synced 2024-12-28 06:51:07 +01:00
13 lines
312 B
Lua
13 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)
|