split up init.lua

This commit is contained in:
Thomas Ruoff
2024-03-26 22:03:40 +01:00
parent 62cea2a4ec
commit a50a611e02
23 changed files with 680 additions and 1376 deletions

7
lua/autocmd.lua Normal file
View File

@@ -0,0 +1,7 @@
vim.api.nvim_create_autocmd('TextYankPost', {
desc = 'Highlight when yanking (copying) text',
group = vim.api.nvim_create_augroup('highlight-yank', { clear = true }),
callback = function()
vim.highlight.on_yank()
end,
})