I defined these maps, to yank into system clipboard.
noremap <leader>y "*y
noremap <leader>Y "*Y
noremap <leader>yy "*yy
But when I use the first one (<leader>y
), I find it extremely slow (taking some 4 or 5 seconds, but functioning properly). Why? What are possible reasons? How can I find cause of problem?
y
andyy
so vim is waiting after the firsty
to see if you'll type another. I can't speak to the other two though; they should execute immediately unless you have more leader mappings that start with those characters.'clipboard'
option useful