You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a Vim variable v:register that returns the default register " if the clipboard option is empty or */+ if it contains unnamed or unnamedplus respectively.
For those users that don't set the clipboard option to unnamedplus, it would be better if you used that Vim variable (vim.v.register in Lua) instead of the + (plus) register.
Thanks for the plugin!
The text was updated successfully, but these errors were encountered:
Thank you! I didn't know about this variable. I will definitely use it for the 2.0 that is under development. I guess it should be relatively easy to make the change in to the current version so I'll look into it as well.
There's a Vim variable
v:register
that returns the default register " if theclipboard
option is empty or */+ if it containsunnamed
orunnamedplus
respectively.For those users that don't set the
clipboard
option tounnamedplus
, it would be better if you used that Vim variable (vim.v.register in Lua) instead of the + (plus) register.Thanks for the plugin!
The text was updated successfully, but these errors were encountered: