Skip to content

How to access to map hints to kitty's buffer? #6073

Closed Answered by page-down
Cruising0904 asked this question in Q&A
Discussion options

You must be logged in to vote

UPDATE:
Now hints kitten can copy the matches to a named buffer.

#6078

map f1 kitten hints --program @a

You need to customize the action performed by hints kitten.

https://sw.kovidgoyal.net/kitty/kittens/hints/#completely-customizing-the-matching-and-actions-of-the-kitten
https://sw.kovidgoyal.net/kitty/kittens/hints/#cmdoption-kitty-kitten-hints-customize-processing

Put the retrieved text into boss.clipboard_buffers[buffer_name].
Search for copy_to_buffer, paste_from_buffer in the codebase to learn more.

The option --program follows an executable on the system or an explicitly stated special value, not the kitty's actions.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Cruising0904
Comment options

@Cruising0904
Comment options

@kovidgoyal
Comment options

@Cruising0904
Comment options

@Cruising0904
Comment options

Answer selected by Cruising0904
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants