ConEmu icon indicating copy to clipboard operation
ConEmu copied to clipboard

need setting to disable POSIX mapping on mouse paste

Open aperomsik opened this issue 5 years ago • 4 comments

Versions

ConEmu build: 191012 x64 OS version: Windows 10 1909 x64 Used shell version: cygwin tcsh

Problem description

No setting found for controlling POSIX mapping when pasting by mouse click.

Steps to reproduce

Text appears in the console: c:/home/peromsik . (To get it there I ran "cygpath -m $HOME.") I select, using the mouse, c:/home If I paste using shift + insert, I get c:/home as desired (because POSIX mapping is unchecked for Paste Method 2) . But if I paste using the mouse, POSIX mapping is invoked and I get /cygdrive/c/home instead . There is a setting for the former, but not for the latter.

aperomsik avatar Nov 14 '19 16:11 aperomsik

I think I have a very similar issue. I paste C:\Users\patnelson\Desktop\Consoles\ConEmu via mouse click, but it always results in /mnt/c/Users/patnelson/Desktop/Consoles/ConEmu when I right click (wrapped in single quotes if there's a space). I simply want what I have my clipboard to be what is pasted; not to mention the fact that this path doesn't work in my bash.exe anyway. 😔

See below. NOTE: Brand new user here, so maybe I'm missing something?

2020-12-12_22-40-41

patricknelson avatar Dec 13 '20 07:12 patricknelson

I agree this is confusing. I was bitten by this as well, there is a way to configure the paste behaviour when using the keybaord, but not when using the mouse. It will always to the path conversion when pasting a windows path to the terminal :-( Either the mouse paste should use one of the configured keyboard shortcuts, e.g. pasting with the mouse is equivalent to e.g. pressing Ctrl+V or a comple new dedicated entry for the mouse paste shall be added.

image

siprbaum avatar Apr 08 '21 13:04 siprbaum

I will check the possibility of adding an option. For now, the workaround could be using a GuiMacro, assigned to RClick. https://conemu.github.io/en/GuiMacro.html#Paste

JFI, if the automatically detected prefix doesn't work, you may setup the correct one with -new_console:m:... https://conemu.github.io/en/NewConsole.html#syntax

Maximus5 avatar Apr 11 '21 10:04 Maximus5

I have the same problem, using cygwin zsh in ConEmu on Windows 10. Are there any news?

kaibenn avatar Jan 24 '22 15:01 kaibenn

Hi, any news about this. Seems like trivial fix. It seems that Conemu detects my docker Windows containers wrong and does this conversion every time. It is really annoying. Thx

m1lhaus avatar Nov 22 '22 07:11 m1lhaus