How to highlight copied text reddit / emacs ---------------------------------------------------------------------- cradlemann · 2022-12-18 00:16 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 ---------------------------------------------------------------------- lispers-anonymous · 2022-12-18 01:51 I think this might be what you want https://github.com/edkolev/evil- goggles ---------------------------------------------------------------------- cradlemann · 2022-12-18 07:11 Thanks. Exactly what I want ---------------------------------------------------------------------- tmting · 2022-12-18 13:01 Every once in a while a new and interesting evil package shows up, and I'm promptly adding it to my config