ConEmu icon indicating copy to clipboard operation
ConEmu copied to clipboard

select a word with double click?

Open lollita opened this issue 9 years ago • 17 comments

Do it is possible to select a word with double click?

lollita avatar Dec 31 '15 05:12 lollita

Yes. What's the problem?

Maximus5 avatar Dec 31 '15 06:12 Maximus5

I'm not able to it. I must to select and release the word to copy to clipboard.

lollita avatar Dec 31 '15 06:12 lollita

Run ConEmu -basic -cmd {cmd}

Maximus5 avatar Dec 31 '15 07:12 Maximus5

i run "ConEmu -basic -cmd {cmd}" from cmd but double click not change. Only move the cursor. I would double click same as notepad.

lollita avatar Dec 31 '15 07:12 lollita

Run run "ConEmu -basic -log -cmd {cmd}" do double click and upload LogFiles to DropBox or gist.

Maximus5 avatar Dec 31 '15 07:12 Maximus5

logs sent via email.

lollita avatar Dec 31 '15 08:12 lollita

By default, clicks and double-clicks are sent to console application. There is no way to know if it aware of mouse events or no.

So, two ways:

  1. Hold Alt or Shift when you double click
  2. Change modifier to <Always> for Text selection on the Mark/Copy settings page.

Maximus5 avatar Dec 31 '15 08:12 Maximus5

ok i understand. do it not possibile to "change prompt" with left click if i not drag the mouse and "mark/copy" with left click if i drag the mouse?

lollita avatar Dec 31 '15 08:12 lollita

What is your question?

Maximus5 avatar Dec 31 '15 09:12 Maximus5

Do it is possible?: I left click mouse without drag it and then change prompt. I left click mouse and drag it and then mark selection and copy on release mouse button.

lollita avatar Dec 31 '15 09:12 lollita

But that is default behavior, isn't it? Only double clicks to word selection requires holding Alt or Shift.

Maximus5 avatar Dec 31 '15 09:12 Maximus5

I'm sorry, it's true. And so you can not distinguish between single-click and double- click to move or copy. Do it is possible to select a word with middle button?

lollita avatar Dec 31 '15 09:12 lollita

Same problem. Console app may use mouse internally. And using middle click breaks UI habits.

However, I have some ideas to improve mouse logic. Later...

Maximus5 avatar Dec 31 '15 10:12 Maximus5

ok ty for all :) :+1:

lollita avatar Dec 31 '15 10:12 lollita

Hi, L-Alt nor L-Shift doesnt seem to make a diff visually so I dont know what they are intended for. But my main issue is: Word selection takes place fine when delimited by spaces, any option to make it select last word (like filename in pathname) ?

rojagit avatar Mar 16 '18 15:03 rojagit

Same question as @rojagit when open task for cmd.exe or WSL. As Microsoft instructed add WordDelimiters register under HKEY_CURRENT_USER/Console, cmd.exe and bash.exe work as expected, but Conemu seems has its own word delimiters.

zxbuaa avatar Mar 22 '19 03:03 zxbuaa

Similar to most other terminals I've worked with (xterm, gnome-terminal, KiTTY, konsole, iTerm2), I would like to be able to select which characters represent a "word" for double-click selection. Is this possible? Thanks.

smprather avatar Jun 03 '22 03:06 smprather