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

Configure URL prefixes for hints kitten and URL detection? #2416

Closed
nblock opened this issue Mar 7, 2020 · 1 comment
Closed

Configure URL prefixes for hints kitten and URL detection? #2416

nblock opened this issue Mar 7, 2020 · 1 comment

Comments

@nblock
Copy link

nblock commented Mar 7, 2020

The hints kitten allows to configure the list of url prefixes with the --url-prefixes parameter. This can be used to add custom URL schemes and open them by pressing kitty_mod+e.

However, custom URL prefixes are not highlighted and underlined due to a hardcoded list of prefixes in https://github.com/kovidgoyal/kitty/blob/master/kitty/line.c#L52. As a consequence, they are not mouse-clickable with kitty_mod+left-mouse.

It would be great, if one can configure the list of url prefixes once and kitty uses this list for the hints kitten and the URL detection mechanism.

@kovidgoyal
Copy link
Owner

kittens and kitty are completely separate program they dont share
configuration. You could of course have a separate url prefixes setting
for kitty, patches are welcome.

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

2 participants