mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-25 21:01:45 +00:00
Compare commits
2 Commits
0021ecd32e
...
b648a78bdf
Author | SHA1 | Date | |
---|---|---|---|
b648a78bdf | |||
4485e74869 |
@ -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
|
||||
|
@ -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',
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user