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

Text selection using keyboard #848

Closed
dbrodie opened this issue Mar 22, 2017 · 3 comments
Closed

Text selection using keyboard #848

dbrodie opened this issue Mar 22, 2017 · 3 comments

Comments

@dbrodie
Copy link

dbrodie commented Mar 22, 2017

Would be amazing if Tilix got support for selecting text using the keyboard rather than only using the mouse.

Currently the only VTE-based terminal supporting this is termite with it's VTE-ng set of patches. Since Tilix requires, anyway, for some of it's features a patched VTE, adding this as well can be relatively simple.

@gnunn1
Copy link
Owner

gnunn1 commented Mar 23, 2017

Do I need to do something in tilix to make this work as tilix should work fine against vte-ng and presumably gain it's features. If this is the case it's more something for people packaging tilix VTE patches then me to consider.

@dbrodie
Copy link
Author

dbrodie commented Mar 26, 2017

vte-ng basically exposes an API that allows to set the selection programmatically (and a few other things, such as pause output, etc...). Connecting the API to keybindings and writing the logic would be up to tilix.

I would envision having a keybinding that toggles keyboard selection and then call the API based on the keys that tilix listens to.

@gnunn1
Copy link
Owner

gnunn1 commented Mar 26, 2017

So I had a basic look at this, I don't have any plans to support this as it looks fairly involved to me based on videos of watching it in action. It also appears to me that much of this functionality is actually handled in termite rather then vte-ng which is just exposing a fairly minimal API. See this bug report here where the termite developer explains in more detail (https://bugzilla.gnome.org/show_bug.cgi?id=679658).

If someone wants to look at it in more detail and submit a PR I'd be happy to consider it but it's not something that interests me personally.

@gnunn1 gnunn1 closed this as completed Mar 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants