Skip to content

kitty like hints feature #3166

@c02y

Description

@c02y

Issue description

Please read https://github.com/tmux/tmux/blob/master/.github/CONTRIBUTING.md
before opening an issue.

If you have upgraded, make sure your issue is not covered in the CHANGES file
for your version: https://raw.githubusercontent.com/tmux/tmux/master/CHANGES

Describe the problem and the steps to reproduce. Add a minimal tmux config if
necessary. Screenshots can be helpful, but no more than one or two.

Do not report bugs (crashes, incorrect behaviour) without reproducing on a tmux
built from the latest code in Git.

Required information

Please provide the following information:

  • tmux version (tmux -V).tmux 3.2a
  • Platform (uname -sp). Archlinux
  • $TERM inside and outside of tmux (echo $TERM). screen-256color
  • Logs from tmux (tmux kill-server; tmux -vv new).

Kitty terminal has a wonderful feature called hints, using some kitty bindings you can get almost any object in the visual text in the terminal such as word, link, path, line:

map kitty_mod+e open_url_with_hints
map kitty_mod+p>f kitten hints --type path --program -
map kitty_mod+p>shift+f kitten hints --type path
map kitty_mod+p>l kitten hints --type line --program -
map kitty_mod+p>w kitten hints --type word --program -
map kitty_mod+p>h kitten hints --type hash --program -
map kitty_mod+p>n kitten hints --type linenum
map kitty_mod+p>y kitten hints --type hyperlink

I know this feature may need a lot of work, how about implementing such feature inside tmux, so this can be done with any terminal, even when running tmux from remote server?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions