nvim/after/plugin/telescope.lua
2024-10-19 10:57:01 +03:00

9 lines
331 B
Lua

local builtin = require('telescope.builtin')
vim.keymap.set('n', '<leader>.', builtin.find_files, {})
vim.keymap.set('n', '<C-p>', builtin.git_files, {})
vim.keymap.set('n', '<leader>fg', builtin.live_grep, {})
-- vim.keymap.set('n', '<leader>pf', function()
-- builtin.grep_string({ search = vim.fn.input("Grep > ") })
-- end)