WIP: Switch to NixOS #5

Draft
FunctionalHacker wants to merge 1349 commits from nix into main
2 changed files with 13 additions and 0 deletions
Showing only changes of commit 4b7d694731 - Show all commits

View file

@ -1,3 +1,4 @@
require("keybinds") require("keybinds")
require("settings") require("settings")
require("highlight_yank")
require("plugins.init") require("plugins.init")

View file

@ -0,0 +1,12 @@
-- Highlight yanked text
local ag = vim.api.nvim_create_augroup
local au = vim.api.nvim_create_autocmd
au('TextYankPost', {
group = ag('yank_highlight', {}),
pattern = '*',
callback = function()
vim.highlight.on_yank { higroup='IncSearch', timeout=300 }
end,
})