win-nvim/after/plugin/telescope.lua

10 lines
427 B
Lua
Raw Normal View History

2024-11-10 11:23:44 +00:00
local builtin = require('telescope.builtin')
vim.keymap.set('n', '<leader>pf', builtin.find_files, {})
2024-11-10 15:49:52 +00:00
vim.keymap.set('n', '<C-p>', builtin.find_files, {})
2024-11-10 11:23:44 +00:00
vim.keymap.set('n', '<leader>pg', builtin.git_files, {})
vim.keymap.set('n', '<leader>pb', builtin.buffers, {})
2024-11-10 15:49:52 +00:00
vim.keymap.set('n', '<C-b>', builtin.buffers, {})
2024-11-10 11:23:44 +00:00
vim.keymap.set('n', '<leader>ps', function()
builtin.grep_string({ search = vim.fn.input("Grep > ") })
end)