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
Is there any interest in allowing vi_normal mode to the use the system clipboard, rather than its own isolated clipboard? I realize this might require third-party support from something like xclip, but it could be a nushell configuration option, similar to how it works in neovim.
This feature would likely be more useful if a y->yank keybinding were added to vi_normal mode as well.
I'm pretty new here, so apologies if these requests have been addressed in the past. I couldn't find anything by searching. Thanks.
The text was updated successfully, but these errors were encountered:
To clarify: which operations in your mind should touch the system clipboard?
Should every operation (e.g. dd, x) reach into the clipboard
Just a subset (y... as explicit copy, how would p work then?)
We implement a vim register system as well and you should use "+<operation touching the cb> like "+yy for system clipboard accesss while keeping a separate register for the standard operations.
I think as a ton of basic editing ops (deletions) move content into vim internal "clipboards", sharing this with the system clipboard may be quite surprising or annoying depending on the situation.
This seems like a fair point. For anyone currently using vim mode, it would be disruptive if various editing operations suddenly started interacting with the system clipboard.
On vim, there's a single line in the configuration that can be used to specify that you'd like it to use the system clipboard. Something similar could make sense for reedline/nushell, with the option off by default. If the user chose to enable the option, I would think that all commands (even d and x) would use the system clipboard, to avoid any confusion.
Is there any interest in allowing vi_normal mode to the use the system clipboard, rather than its own isolated clipboard? I realize this might require third-party support from something like xclip, but it could be a nushell configuration option, similar to how it works in neovim.
This feature would likely be more useful if a y->yank keybinding were added to vi_normal mode as well.
I'm pretty new here, so apologies if these requests have been addressed in the past. I couldn't find anything by searching. Thanks.
The text was updated successfully, but these errors were encountered: