-
Notifications
You must be signed in to change notification settings - Fork 7
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
Selected register not copied to default register "
#27
Comments
Good afternoon and thank you for looking into So, as you can see from the code all peekup does it moving the selected content into the default register
P. S. I noticed from your recording that there is a problem with the visual selection, it seems the selection doesn't go through the whole word. I will look into it. |
Thank you @gennaro-tedesco for quick answer!
After selecting in the In the following video:
Screen.Recording.2022-11-16.at.09.56.27.movEdit. Here's another video:
Screen.Recording.2022-11-16.at.10.00.01.mov
i.e. it's unset.
Thx! |
The problem is that you do not have the unnamed register set for your clipboard: do
and it should work. However, peekup also gives you the possibility to configure which particular register to use to temporarily store the content you are selecting in the window by amending this option. |
Ah Setting However setting lua <<EOF
require('nvim-peekup.config').on_keystroke["paste_reg"] = '"'
EOF seems to work so far! The selected register in Would it be a better default with |
It could, but I am not sure if it will conflict with other architectures. So far most users do have their clipboard set to |
At least it would be good if the README mention the assumption on |
You are right: I have added a line in the README in 2e48f2e. |
Thx! |
Hey,
I would really like to use this plugin. In the past I've used various yang-ring plugins but not been really satisifed. This seems to be a great take on it though!
The problem I have is that when I select a register, it seems like the content is not put in to the default register, so that I can paste it with
p
after selection.In this video I start with empty registers, copy 3 pieces of texts in to register 1,2 and 3. Then I try to paste by selecting from the dialog
""
, however the selected content is not pasted.Screen.Recording.2022-11-15.at.14.33.27.mov
Specs
v0.8.0
(from Homebrew)Nvim
init.vim
:Plug 'gennaro-tedesco/nvim-peekup'
The text was updated successfully, but these errors were encountered: