mirror of
https://github.com/xHyroM/dotfiles.git
synced 2024-11-10 01:18:06 +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)
|