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>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>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>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 -- Telescope live_grep in git root
-- Function to find the git root directory based on the current buffer's path -- Function to find the git root directory based on the current buffer's path

View File

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