feat: Adding config files

This commit is contained in:
kar
2025-11-11 22:42:37 -06:00
commit 97fc68c47f
14 changed files with 627 additions and 0 deletions
+55
View File
@@ -0,0 +1,55 @@
return {
{
'nvim-telescope/telescope.nvim',
tag = '0.1.8',
dependencies = { 'nvim-lua/plenary.nvim' },
config = function()
require('telescope').setup({
defaults = {
vimgrep_arguments = {
'rg',
'--color=never',
'--no-heading',
'--with-filename',
'--line-number',
'--column',
'--smart-case',
'--no-ignore', -- Include files ignored by .gitignore
'--hidden', -- Include hidden files
'--glob', '!target/', -- Exclude the `target/` directory
'--binary', -- Ignore all binary files
},
},
pickers = {
find_files = {
find_command = { 'rg', '--files', '--hidden', '--no-ignore', '--glob', '!target/', '--binary' },
},
},
extensions = {
themes = require('telescope.themes').get_dropdown({}),
},
})
-- Keymap to bring up the colorscheme picker
vim.keymap.set('n', '<leader>uC', function()
require('telescope.builtin').colorscheme({
enable_preview = true, -- Shows preview of the colorschemes
})
end, { noremap = true, silent = true })
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
}
}