Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EasyClipEnableBlackHoleRedirect=0 breaks mm and doesn't work with d #85

Open
fvisin opened this issue Apr 18, 2016 · 2 comments
Open

EasyClipEnableBlackHoleRedirect=0 breaks mm and doesn't work with d #85

fvisin opened this issue Apr 18, 2016 · 2 comments

Comments

@fvisin
Copy link

fvisin commented Apr 18, 2016

Disabling EasyClipEnableBlackHoleRedirect breaks mm.

Also, I don't know if this is the intended behavior, but when EasyClipEnableBlackHoleRedirect=0 the text cut with d or dd 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.

@svermeulen
Copy link
Owner

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

@fvisin
Copy link
Author

fvisin commented Apr 18, 2016

I should have probably opened two separate issues:

  1. When I set EasyClipEnableBlackHoleRedirect=0, mm stops working.

  2. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants