Initial commit

This commit is contained in:
Devin Haska 2023-12-30 17:47:22 -08:00
commit 35aaf58a92
14 changed files with 314 additions and 0 deletions

31
lua/plugins/telescope.lua Normal file
View file

@ -0,0 +1,31 @@
return {
{
'nvim-telescope/telescope.nvim',
tag = '0.1.5',
dependencies = { 'nvim-lua/plenary.nvim' },
config = function()
local builtin = require('telescope.builtin')
vim.keymap.set('n', '<Leader>pp', builtin.git_files, {})
vim.keymap.set('n', '<Leader>pf', builtin.find_files, {})
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)
end
},
{
"nvim-telescope/telescope-ui-select.nvim",
config = function()
require("telescope").setup {
extensions = {
["ui-select"] = {
require("telescope.themes").get_dropdown {}
}
}
}
require("telescope").load_extension("ui-select")
end
}
}