Cheat-sheets for shortcuts & commands at your fingertips.
Display keyboard shortcuts or other hints based on the the active window. (GTK, Linux only!)
- Install from PyPi with
pip install keyhintand run
- Or download the AppImage from releases, make it executable and run it.
- Configure a global hotkey (e.g.
F1) to start KeyHint on demand.
KeyHint with KeyBindings for VS Code:
Application Options: -h, --hint=HINT-ID Show hints by specified ID -d, --default-hint=HINT-ID Hint to show in case no hints for active application were found -v, --verbose Verbose log output for debugging --display=DISPLAY X display to use
- The config directory is
- To customize existing hints, copy the corresponding .yaml-file into the config directory. Make your changes in a text editor. As long as you don't change the
idit will overwrite the defaults.
- To create new hints, I suggest you also start with one of the existing .yaml-file:
- Place it in the config directory and give it a good file name.
- Change the value
idto something unique.
regex_titleso it will be selected based on the active window. (See Tips)
- Add the
hintsto be displayed.
- If you think the hints might be useful for others, please consider opening a pull request or an issue.
- You can always reset a configuration to the shipped version by deleting the
.yamlfiles from the config folder.
- The hints to be displayed on startup are selected by comparing the value of
regex_processwith the wm_class of the active window and the value of
regex_titlewith the title of the active window.
- The potential hints are processed alphabetically by filename, the first file that matches both wm_class and title are gettin displayed.
- Both of
regex_values are interpreted as case insensitive regular expressions.
- Check "Debug Info" in the application menu to get insights about the active window and the selected hints file.
- Check the included yaml-files to see wich applications are available by default.
- Feel free submit additional
yaml-filesfor further applications.
Differentiate hints per website:
- For showing different browser-hints depending on the current website, you might want to use a browser extension like "Add URL To Window Title" and then configure the sections in
hints.yamlto look for the URL in the window title.
I'm happy about any contribution! Especially I would appreciate submissions to improve the shipped hints. (The current set are the hints I personally use).
- Don't run as service
It shouldn't consume resources in the background, even if this leads to slower start-up time.
- No network connection
Everything should run locally without any network communication.
The fewer dependencies, the better.
Supports setups with two or more displays
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size keyhint-0.2.0-py3-none-any.whl (645.3 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size keyhint-0.2.0.tar.gz (646.0 kB)||File type Source||Python version None||Upload date||Hashes View|