ShannonMax
ShannonMax uses information theory to analyze your emacs usage and suggest better keybindings.
In particular, it helps you find commands where changing the keybinding can significantly reduce the amount you type .
WARNING: When using a keylogger, be careful not to log any sensitive information!
Cite This:
Straus, S. (2024). Better Keybindings with Information Theory [Computer software]. https://github.com/sstraust/shannonmax
Original Talk: https://www.youtube.com/watch?v=MytPttbIUOY
How to Use
Download the files shannon-max.el , and target/emacskeys-0.1.0-SNAPSHOT-standalone.jar . Put them in the same directory, somewhere in your emacs path. So the structure should look like: ~/.emacs.d/custom/shannon-max.el ~/.emacs.d/custom/target/emacskeys-0.1.0-SNAPSHOT-standalone.jar And you should have something in your .emacs that looks like this: (add-to-list 'load-path "~/.emacs.d/custom") (require 'shannon-max) (setq shannon-max-jar-file (expand-file-name "~/.emacs.d/custom/target/emacskeys-0.1.0-SNAPSHOT-standalone.jar")) You'll also need to have java/the jvm available on your machine and chmod +x the jar file to make it executable. Start collecting data. Add (shannon-max-start-logger) to your .emacs configuration file. After a few minutes, check the contents of ~/emacs-logged-keys to verify the logger is working correctly. Once you have enough data, call M-x shannon-max-analyze to see the results!
Viewing the Output
... continue reading