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>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
|
||||||
|
@ -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',
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user