robin/ivy
my custom neovim config
git clone https://git.robinwobin.dev/robin/ivy
6e99dff
main
1vim . on ( "TextYankPost" , "@ivy.yank.highlight" , { 2pattern ="*" , 3desc ="highlight yanked text" , 4} , function () 5vim . hl . hl_op ( { higroup ="CurSearch" , timeout =200 } ) 6end ) 7 8vim . on ( "TextYankPost" , "@ivy.yank.buf" , { 9desc ="rotate yank ringbuf" , 10} , function () 11if vim . v . event . operator == "y" then 12for i =9 , 1 , - 1 do 13vim . fn . setreg ( tostring ( i ), vim . fn . getreg ( tostring ( i - 1 ))) 14end 15end 16end )