https://github.com/shapr/markovkeyboard Skip to content Navigation Menu Toggle navigation Sign in * Product + GitHub Copilot Write better code with AI + Security Find and fix vulnerabilities + Actions Automate any workflow + Codespaces Instant dev environments + Issues Plan and track work + Code Review Manage code changes + Discussions Collaborate outside of code + Code Search Find more, search less Explore + All features + Documentation + GitHub Skills + Blog * Solutions By company size + Enterprises + Small and medium teams + Startups By use case + DevSecOps + DevOps + CI/CD + View all use cases By industry + Healthcare + Financial services + Manufacturing + Government + View all industries View all solutions * Resources Topics + AI + DevOps + Security + Software Development + View all Explore + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners + Executive Insights * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Enterprise + Enterprise platform AI-powered developer platform Available add-ons + Advanced Security Enterprise-grade security features + GitHub Copilot Enterprise-grade AI features + Premium Support Enterprise-grade 24/7 support * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up Reseting focus You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} shapr / markovkeyboard Public * Notifications You must be signed in to change notification settings * Fork 6 * Star 400 keyboard layout that changes by markov frequency License BSD-3-Clause license 400 stars 6 forks Branches Tags Activity Star Notifications You must be signed in to change notification settings * Code * Issues 8 * Pull requests 0 * Actions * Projects 0 * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Projects * Security * Insights shapr/markovkeyboard master BranchesTags [ ] Go to file Code Folders and files Name Name Last commit Last commit message date Latest commit History 24 Commits .gitignore .gitignore LICENSE LICENSE README.md README.md crunch_freqs.py crunch_freqs.py example-freqs example-freqs markov-all.el markov-all.el markovkeyboard.el markovkeyboard.el screenshot.png screenshot.png smoothing.el smoothing.el View all files Repository files navigation * README * BSD-3-Clause license markovkeyboard keyboard layout that changes by markov frequency screenshot 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? * [*] define a new input-method for markov * [*] display the keyboard layout when enabling the mode * [ ] port to X11 to ease getting started About keyboard layout that changes by markov frequency Topics keyboard emacs markov-chain Resources Readme License BSD-3-Clause license Activity Stars 400 stars Watchers 10 watching Forks 6 forks Report repository Releases No releases published Packages 0 No packages published Contributors 2 * @shapr shapr Shae Erisson * @darius darius Darius Bacon Languages * Emacs Lisp 88.2% * Python 11.8% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.