More configuration updates

This commit is contained in:
Hazem Krimi
2025-02-13 02:01:56 +01:00
parent 5b20f2406f
commit d19a34bcfd
14 changed files with 391 additions and 173 deletions
+10
View File
@@ -0,0 +1,10 @@
-- Highlight when yanking (copying) text
-- Try it with `yap` in normal mode
-- See `:help vim.highlight.on_yank()`
vim.api.nvim_create_autocmd('TextYankPost', {
desc = 'Highlight when yanking (copying) text',
group = vim.api.nvim_create_augroup('kickstart-highlight-yank', { clear = true }),
callback = function()
vim.highlight.on_yank()
end,
})