I would like an option to make the right-mouse/copy/clipboard functionality work a little differently, similar to how Windows Terminal and cmd currently work. Whether or not it is optimal, my muscle memory is trained this way, and I really like having an easy way to copy contents of a terminal window for insertion in a text editor, without modifying the command line. I suspect anyone coming from that environment will have a similar issue. I would like this to be an option; I am not proposing changing the default behavior.
Current behavior:
Currently, with Copy on Left Button release unchecked, when text is selected, right-mouse will insert the selected text onto the command line being edited at the current cursor position, and the current selection will be unselected. The clipboard is not modified. Subsequent clicks of the right-mouse will insert the clipboard contents, which may be different than what was inserted with the first click. Since the previously highlighted text is not on the clipboard, it cannot be copied into another window. Right-mouse cannot be used to copy text without inserting it into the terminal.
Desired behavior:
Right-mouse will copy the currently selected text onto the clipboard, and unselect the selection. If no text is selected, right-mouse will paste the contents of the clipboard on the line being edited at the current cursor position. Subsequent clicks of the right-mouse will again paste the contents of the clipboard, which is the same as was inserted earlier. Since the previously highlighted text is on the clipboard, it can be copied into another window. Right-mouse can be used to copy text without inserting it into the terminal.
I would propose adding a new checkbox to activate this functionality. On the Mark/Copy menu, add "Copy on Right Mouse release" and would be unchecked by default (providing the currently default behavior). If that is checked, the behavior outlined in "Desired behavior" would be activated.
Versions
ConEmu build: 210304 x64
OS version: Windows10 x64
I would like an option to make the right-mouse/copy/clipboard functionality work a little differently, similar to how Windows Terminal and cmd currently work. Whether or not it is optimal, my muscle memory is trained this way, and I really like having an easy way to copy contents of a terminal window for insertion in a text editor, without modifying the command line. I suspect anyone coming from that environment will have a similar issue. I would like this to be an option; I am not proposing changing the default behavior.
Current behavior:
Currently, with Copy on Left Button release unchecked, when text is selected, right-mouse will insert the selected text onto the command line being edited at the current cursor position, and the current selection will be unselected. The clipboard is not modified. Subsequent clicks of the right-mouse will insert the clipboard contents, which may be different than what was inserted with the first click. Since the previously highlighted text is not on the clipboard, it cannot be copied into another window. Right-mouse cannot be used to copy text without inserting it into the terminal.
Desired behavior:
Right-mouse will copy the currently selected text onto the clipboard, and unselect the selection. If no text is selected, right-mouse will paste the contents of the clipboard on the line being edited at the current cursor position. Subsequent clicks of the right-mouse will again paste the contents of the clipboard, which is the same as was inserted earlier. Since the previously highlighted text is on the clipboard, it can be copied into another window. Right-mouse can be used to copy text without inserting it into the terminal.
I would propose adding a new checkbox to activate this functionality. On the Mark/Copy menu, add "Copy on Right Mouse release" and would be unchecked by default (providing the currently default behavior). If that is checked, the behavior outlined in "Desired behavior" would be activated.
Versions
ConEmu build: 210304 x64 OS version: Windows10 x64