I founded in somebody's neovim config these lines
vim.api.nvim_exec([[
augroup YankHighlight
autocmd!
autocmd TextYankPost * silent! lua vim.highlight.on_yank{higroup="IncSearch", timeout=300}
augroup end
]], false)
This Lua code highlight text, copied via commands, like `3yw` for example. As I'm using evil, I'm curious how to do the same in Emacs