-
Notifications
You must be signed in to change notification settings - Fork 8
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
[Question] How paste registers from delete actions #14
Comments
Have you tried enabling |
Yes, the overall plugin configuration I'm using is,
|
I can't reproduce it Here's my full neovim init.vim:
Using MacOs, neovim 0.4.2 |
With that, if I delete a bunch of characters using |
Is swapping yanks the intended behaviour? all I'm trying to do is being able to |
Oh sorry I misread your question. But it still works how you describe when I test it. Given the text |
Ok I have reproduced it now I noticed that it seems to stop happening when I add Another thing I noticed is that if you execute |
It might be related to this: neovim/neovim#11202 |
I don't think it is because it's supposed to be fixed, but I still have the issue with nightly If I Then, if I try my And now, if I try to cut yet something else… My full config is here. let g:yoinkSyncNumberedRegisters = 1
let g:yoinkSavePersistently = 1
let g:yoinkSyncSystemClipboardOnFocus = 1
let g:yoinkIncludeDeleteOperations = 1
nmap <c-n> <Plug>(YoinkPostPasteSwapBack)
nmap <c-p> <Plug>(YoinkPostPasteSwapForward)
nmap p <Plug>(YoinkPaste_p)
nmap P <Plug>(YoinkPaste_P)
nmap gp <Plug>(YoinkPaste_gp)
nmap gP <Plug>(YoinkPaste_gP)
" do not yank on delete operations
nnoremap d "_d
vnoremap d "_d
nnoremap h "_c
vnoremap h "_c
" cut operation
nnoremap <leader><leader>d d
vnoremap <leader><leader>d d
nnoremap <leader><leader>h c
vnoremap <leader><leader>h c |
Hello, I'm having a hard time using the
x
register. Whenever I cut something withx
, and then try to paste withp
/P
--each mapped as suggestednmap p <plug>(YoinkPaste_p)
-- I don't get the cutted text pasted. I have to swap along the yanks. Is it there a way yo make the cuts to be stored in the first register that Yoink uses when pasting?Thanks in advance
The text was updated successfully, but these errors were encountered: