So when executing key chords , emacs waits indefinitely. However i want to bind SPC y to copy current selection and SPC yy to copy current line, how would i go about binding the keys like this?
(map!
:leader
:nv
:desc "Copy line to system clipboard" "yy" #'copy-current-line-to-clipboard)
dosen’t work as y is not a prefix key
I don’t think there is a solution to this so im using SPC Y instead but if there is a way around this i would love to know