The Toggle-Map and Wizardry19 Jul 2014, by Artur Malabarba.
Mnemonic Keymaps post series
- The Toggle-Map and Wizardry
- Emacs narrow-or-widen-dwim
- Launcher Keymap for Standalone Features
- Keymap for Launching External Applications and Websites
I love intuitive keymaps. Some are so perfect, you just can’t avoid mouthing the words every time you hit that blissful combo. A wizard murmuring an incantation under his breath as his fingers draw the arcane patterns.
The following keymap toggles some options which tend to be useful throughout a session.
There are eight keys being defined there, most of which aren’t even used every day, but I know I’ll never forget a single one. That is the beauty of mnemonics.
Doesn’t “Emacs, toggle column” just roll off your tongue as you’re typing C-x t c? I feel like I’m commanding the strands of reality, but that could just be my D&D past taking the better of me.
Also note: The manual recommends C-c for user keys, but I like using C-x for global keys and using C-c for mode-specific keys.