15 lines
516 B
Lua
15 lines
516 B
Lua
local telescope = require('telescope')
|
|
local builtin = require('telescope.builtin')
|
|
|
|
telescope.setup{
|
|
defaults = {
|
|
file_ignore_patterns = {"node_modules", ".git", ".cache", ".DS_Store", "Steam", "Media", "Pictures", "Downloads", "Videos", "Music", ".venv", ".conda", "School"},
|
|
},
|
|
}
|
|
|
|
vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
|
|
vim.keymap.set('n', '<leader>fg', builtin.git_files, {})
|
|
vim.keymap.set('n', '<leader>fs', function()
|
|
builtin.grep_string({ search = vim.fn.input("Grep > ") })
|
|
end)
|