Moved configs to seperate files
This commit is contained in:
parent
fdb565ce87
commit
3b96ad1b57
26 changed files with 578 additions and 229 deletions
9
lua/angryluck/commands.lua
Normal file
9
lua/angryluck/commands.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
-- [[ Basic Autocommands ]]
|
||||
-- See ':help lua-guide-autocommands'
|
||||
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,
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue