nvim/after/plugin/telescope.lua

8 lines
319 B
Lua
Raw Normal View History

2024-01-08 02:41:27 +01:00
local builtin = require('telescope.builtin')
vim.keymap.set('n', '<leader>pf', builtin.find_files, {})
vim.keymap.set('n', '<C-p>', builtin.git_files, {})
vim.keymap.set('n', '<leader>ps', function()
builtin.grep_string({ search = vim.fn.input("Grep > ") });
end)
2024-05-10 00:01:32 +02:00
vim.keymap.set('n', '<leader>b', builtin.buffers, {})