Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shapr/markovkeyboard
keyboard layout that changes by markov frequency
https://github.com/shapr/markovkeyboard
emacs keyboard markov-chain
Last synced: 3 months ago
JSON representation
keyboard layout that changes by markov frequency
- Host: GitHub
- URL: https://github.com/shapr/markovkeyboard
- Owner: shapr
- License: bsd-3-clause
- Created: 2019-05-17T19:50:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-05T00:05:19.000Z (over 5 years ago)
- Last Synced: 2024-06-15T05:37:40.914Z (5 months ago)
- Topics: emacs, keyboard, markov-chain
- Language: Emacs Lisp
- Size: 126 KB
- Stars: 312
- Watchers: 10
- Forks: 6
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-repositories - shapr/markovkeyboard - keyboard layout that changes by markov frequency (Emacs Lisp)
README
# markovkeyboard
keyboard layout that changes by markov frequency![screenshot](screenshot.png)
# the big idea
Static keyboard layouts are boring and predictable. Let's spice up the whole idea of keyboard layouts by having the layout *CHANGE WHILE YOU ARE TYPING*!The layout will update itself to move the keys that most frequently come next to the home row.
For example, if you type only "the" all day, then when you press the letter 't' the letter 'h' will be on the home row.# how do I type?
There are minor challenges involved if your keyboard layout could change with every keypress, thus this prototype is an emacs library that displays and updates the current layout with every keypress.# does it work?
Pretty much! It only remaps the letters from a-zA-Z, but it does work!
# how do I make it go?
Use the pre-trained markov-all.el with M-x load-file then type in /path/to/markovkeyboard/markov-all.el
After that, use M-x set-input-method and choose markov-insanity-a or replace a with any letter you prefer!
If you want a different set of 26 keymaps:
Download a plain text file for training the markov chain, then run "python crunch_freqs.py filename.txt" and that will generate a markov-all.el file that you can use with M-x load-file .
# how do I make it stop?
C-\ is bound to toggle-input-method in stock emacs, and the keybindings are all buffer local, so the code shouldn't make your life too difficult.
# what needs to be done?
- [X] define a new input-method for markov
- [X] display the keyboard layout when enabling the mode
- [ ] port to X11 to ease getting started