Open fvisin opened 8 years ago
What are you trying to do exactly?
Sounds like you want d
to be used as easyclip cut
? If so you can try this:
let g:EasyClipUseCutDefaults = 0
nmap d <Plug>MoveMotionPlug
xmap d <Plug>MoveMotionXPlug
nmap dd <Plug>MoveMotionLinePlug
I should have probably opened two separate issues:
EasyClipEnableBlackHoleRedirect=0
, mm
stops working.I am trying to keep the default behaviour of d
(and variants, e.g. dd
, dw
, D
, ..) but adding the deleted text to the yank buffer, so that I can cycle through the deleted lines when I paste.
I tried your suggestion but unfortunately it doesn't work, e.g. dw
and dl
delete much more than they normally do.
Disabling
EasyClipEnableBlackHoleRedirect
breaksmm
.Also, I don't know if this is the intended behavior, but when
EasyClipEnableBlackHoleRedirect=0
the text cut withd
ordd
is not added to the yank buffer, as I would instead expect. It would be great to have at least one option to enable this behavior, if not to do it by default.