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
Describe the bug
Cannot paste from the PRIMARY clipboard on X11 to the command bar (for lack of [knowing] a better term)
To Reproduce
In an editor window with text, highlight some text
In normal mode, type / to start a search on the command bar
Middle click the mouse to paste the PRIMARY clipboard, like you can do in most every X11 applicatoin
See paste go into the editor window instead of onto the command bar
Expected behavior
Text should be pasted to the command bar
Environment (please complete the following information):
Extension (VsCodeVim) version: 1.11.2
VSCode version: 1.38.1
OS: Fedora 30
Additional context
To be clear, this is not the same paste as <CTRL>-c/<CTRL>-v. This is the middle-mouse-button-click paste that simply pastes whatever text is currently (or was most recently) highlighted.
The text was updated successfully, but these errors were encountered:
Also any Linux. Linux automatically inserts into the keyboard buffer on select text. This is a different buffer to the buffer
Copy on select -> paste on middle mouse click
I have the same problem, only difference i use shift+insert to paste. In vim this will go into my command bar. in vscode it inserts the text into the file i'm editing :/
Pretty sure the VSCode API won't let us know about middle mouse clicks. @Dieterbe feel free to open a separate issue for that, we should be able to handle <S-INS>
@J-Fields I think the issue I'm hitting is related here.
I've rebound copy/paste in VS Code's keyboard shortcuts to use ctrl-shift-c / ctrl-shift-v which makes copy and paste feel more at home when editing files, but pasting to the command bar is only done with ctrl-v. Is there a way to modify the shortcut which pastes to the command bar?
Describe the bug
Cannot paste from the PRIMARY clipboard on X11 to the command bar (for lack of [knowing] a better term)
To Reproduce
/
to start a search on the command barExpected behavior
Text should be pasted to the command bar
Environment (please complete the following information):
Additional context
To be clear, this is not the same paste as
<CTRL>-c
/<CTRL>-v
. This is the middle-mouse-button-click paste that simply pastes whatever text is currently (or was most recently) highlighted.The text was updated successfully, but these errors were encountered: