https://github.com/trygveaa/kitty-hints-selection
Kitty hints processor for selecting text
https://github.com/trygveaa/kitty-hints-selection
Last synced: over 1 year ago
JSON representation
Kitty hints processor for selecting text
- Host: GitHub
- URL: https://github.com/trygveaa/kitty-hints-selection
- Owner: trygveaa
- License: gpl-3.0
- Created: 2020-04-13T20:44:29.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-13T20:44:47.000Z (about 6 years ago)
- Last Synced: 2025-01-11T18:49:33.479Z (over 1 year ago)
- Language: Python
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kitty hints processor for selecting text
This is a [custom
processor](https://sw.kovidgoyal.net/kitty/kittens/hints.html#completely-customizing-the-matching-and-actions-of-the-kitten)
for the [hints kitten](https://sw.kovidgoyal.net/kitty/kittens/hints.html) in
the [kitty terminal emulator](https://sw.kovidgoyal.net/kitty/) which allows
you to select text.
## Installation
Place the `hints_selection.py` file in the same directory as `kitty.conf`.
Map a key to launch the hints kitten with this processor. E.g. for using
`kitty_mod+d` to select words add this to `kitty.conf`:
```
map kitty_mod+d kitten hints --type word --multiple --customize-processing hints_selection.py
```
## Usage
This is used just like the standard hints kitten. After you have finished
choosing the hints, a selection which covers those hints will be set.