You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
445 B
Lua
12 lines
445 B
Lua
2 years ago
|
local builtin = require('telescope.builtin')
|
||
|
|
||
|
vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
|
||
|
vim.keymap.set('n', '<leader>fp', builtin.git_files, {})
|
||
|
vim.keymap.set('n', '<leader>fg', builtin.live_grep, {})
|
||
|
--vim.keymap.set('n', '<leader>fb', builtin.buffers, {})
|
||
|
--vim.keymap.set('n', '<leader>fh', builtin.help_tags, {})
|
||
|
|
||
|
vim.keymap.set('n', '<leader>ps', function()
|
||
|
builtin.grep_string({ search = vim.fn.input("Grep > ") });
|
||
|
end)
|