Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select whole line from mouse position on triple-click 🔥 #9767

Closed
silverqx opened this issue Apr 10, 2021 · 3 comments
Closed

Select whole line from mouse position on triple-click 🔥 #9767

silverqx opened this issue Apr 10, 2021 · 3 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@silverqx
Copy link

I really miss this feature from the Konsole terminal, it has this configuration in settings 🚀:

triple_click

It works this way, if I do triple-click on some word, it selects the word under the cursor and the whole line to the end.

Examples:

  • | indicates where I do triple-click
  • > start of the selection after triple-click
  • < end of the selection after triple-click
Setting up >pyth|on3-distupgrade (1:20.04.31) ...                             <
>Se|tting up python3-distupgrade (1:20.04.31) ...                             <
Setting up >python3-distupgra|de (1:20.04.31) ...                             <

It can be a little enhanced like this:

Setting up >pyth|on3-distupgrade (1:20.04.31) ...<
>Se|tting up python3-distupgrade (1:20.04.31) ...<
Setting up >python3-distupgra|de (1:20.04.31) ...<

So do the trim of whitespaces at the end of the line.

Would be nice to do it configurable, so the user could decide if he wants to select Whole line or From mouse position to the end of line.

I'm using this feature heavily when I work in the Konsole terminal.

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Apr 10, 2021
@j4james
Copy link
Collaborator

j4james commented Apr 10, 2021

I think this could probably be covered by issue #6511. It's essentially just another selection type that users would be able to choose for a given click action.

@DHowett
Copy link
Member

DHowett commented Apr 13, 2021

Yep! Thanks @j4james. This is a solid /duplicate of #6511, but for us to correctly identify the righthandmost text we'll need to fix #2089.

Thanks!

@ghost
Copy link

ghost commented Apr 13, 2021

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost ghost closed this as completed Apr 13, 2021
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Apr 13, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

3 participants