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

Open links #70

Open
boxdot opened this issue Jul 6, 2021 · 3 comments
Open

Open links #70

boxdot opened this issue Jul 6, 2021 · 3 comments

Comments

@boxdot
Copy link
Owner

boxdot commented Jul 6, 2021

It is hard to open links in gurk. Some terminals (iterm2, alacritty) support opening links under the cursor, however if the link is wrapped it does not work. A proposal is to select the mesage containing a link with alt+up/down and press enter.

The same technique can be applied to opening attachments.

As a follow-up we could add a mouse selection of messages and a context menu. This would require a mapping between absolute lines and messages in the messages list (involved due to text wrap).

@gertjanvanzwieten
Copy link

The gomuks matrix client offers a plaintext view (under ctrl+L) which removes the side bars and redraws the conversation without any control characters, leaving line wrapping to the terminal. In that view urls are clickable even when wrapped (in alacritty at least). I use it a lot for this purpose and find it works quite well.

@molleweide
Copy link

molleweide commented Jul 6, 2021

It would be cool if u could edit messages in a vim buffer like with ’tg’ (telegram tui). Then u could also use vims built in commands like ’gx’ for open link under curaor in browser etc…

https://github.com/paul-nameless/tg

@chaseadam
Copy link

confirmed delivered in merged #99 . Works great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants