Compare commits

...

2 Commits

2 changed files with 10 additions and 4 deletions

View File

@ -114,7 +114,11 @@ return {
vim.keymap.set('n', '<leader>sr', builtin.resume, { desc = '[S]earch [R]esume' })
vim.keymap.set('n', '<leader>s.', builtin.oldfiles, { desc = '[S]earch Recent Files ("." for repeat)' })
vim.keymap.set('n', '<leader>sc', builtin.command_history, { desc = '[S]earch [C]ommand History' })
vim.keymap.set('n', '<leader><leader>', builtin.buffers, { desc = '[ ] Find existing buffers' })
vim.keymap.set('n', '<leader><leader>', function()
builtin.buffers {
sort_mru = true,
}
end, { desc = '[ ] Find existing buffers' })
-- Telescope live_grep in git root
-- Function to find the git root directory based on the current buffer's path

View File

@ -10,6 +10,7 @@ return {
build = ':TSUpdate',
opts = {
ensure_installed = {
-- kickstart
'bash',
'c',
'diff',
@ -21,16 +22,17 @@ return {
'query',
'vim',
'vimdoc',
-- webdev
'javascript',
'typescript',
'svelte',
'php',
-- other
'python',
'rust',
'c_sharp',
'go',
-- git
'gitcommit',
'gitignore',
},