An ASCII diagram of the Miryoku layout based on this image.
miryoku
base ┌────┬────┬────┬────┬────┐ ┌────┬────┬────┬────┬────┐
│ q │ w │ f │ p │ b │ │ j │ l │ u │ y │ ' │
├────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┤
│ a ⌥│ r ⌘│ s ^│ t ⇧│ g │ │ m │ n ⇧│ e ^│ i ⌘│ o ⌥│
├────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┤
│ z │ x │ c │ d │ v │ │ k │ h │ , │ . │ / │
└────┴────┴────┴────┴────┘ └────┴────┴────┴────┴────┘
│esc │ ┄┄ │tab │ │ent │bks │del │
└────┴────┴────┘ └────┴────┴────┘
media nav mous sym num fun
sym ┌────┬────┬────┬────┬────┐ ┌────┬────┬────┬────┬────┐
│ { │ & │ * │ ( │ } │ │ │ │ │ │ │
├────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┤
│ : │ $ │ % │ ^ │ + │ │ │ │ │ │ │
├────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┤
│ ~ │ ! │ @ │ # │ | │ │ │ │ │ │ │
└────┴────┴────┴────┴────┘ └────┴────┴────┴────┴────┘
│ ( │ ) │ _ │ │ ▀▀ │ │ │
└────┴────┴────┘ └────┴────┴────┘
num ┌────┬────┬────┬────┬────┐ ┌────┬────┬────┬────┬────┐
│ [ │ 7 │ 8 │ 9 │ ] │ │ │ │ │ │ │
├────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┤
│ ; │ 4 │ 5 │ 6 │ = │ │ │ │ │ │ │
├────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┤
│ ` │ 1 │ 2 │ 3 │ \ │ │ │ │ │ │ │
└────┴────┴────┴────┴────┘ └────┴────┴────┴────┴────┘
│ . │ 0 │ - │ │ │ ▀▀ │ │
└────┴────┴────┘ └────┴────┴────┘
fun ┌────┬────┬────┬────┬────┐ ┌────┬────┬────┬────┬────┐
│f12 │ f7 │ f8 │ f9 │prnt│ │ │ │ │ │ │
├────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┤
│f11 │ f4 │ f5 │ f6 │scrl│ │ │ │ │ │ │
├────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┤
│f10 │ f1 │ f2 │ f3 │paus│ │ │ │ │ │ │
└────┴────┴────┴────┴────┘ └────┴────┴────┴────┴────┘
│menu│ │ │ │ │ │ ▀▀ │
└────┴────┴────┘ └────┴────┴────┘
nav ┌────┬────┬────┬────┬────┐ ┌────┬────┬────┬────┬────┐
│ │ │ │ │ │ │ ^y │ ^v │ ^c │ ^x │ ^z │
├────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┤
│ │ │ │ │ │ │. │ ◁ │ ▽ │ △ │ ▷ │
├────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┤
│ │ │ │ │ │ │ins │hom │pg↓ │pg↑ │end │
└────┴────┴────┴────┴────┘ └────┴────┴────┴────┴────┘
│ │ ▀▀ │ │ │ │ │ │
└────┴────┴────┘ └────┴────┴────┘
mous ┌────┬────┬────┬────┬────┐ ┌────┬────┬────┬────┬────┐
│ │ │ │ │ │ │ ^y │ ^v │ ^c │ ^x │ ^z │
├────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┤
│ │ │ │ │ │ │ │ ◁ │ ▽ │ △ │ ▷ │
├────┼────┼────┼────┼────┤ ├────┼────┼────┼────┼────┤
│ │ │ │ │ │ │ │mw◁ │mw▽ │mw△ │mw▷ │
└────┴────┴────┴────┴────┘ └────┴────┴────┴────┴────┘
│ │ │ ▀▀ │ │ m¹ │ m² │ m³ │
└────┴────┴────┘ └────┴────┴────┘
iturn0image0turn0image1turn0image3turn0image5Understood! Let's create a comprehensive package for the Miryoku Layout tailored for your Piantor keyboard using Kanata. This package will include:
1. Visual Cheat Sheet of All Layers
A visual cheat sheet serves as a quick reference for your keyboard layout, helping you memorize key placements and layer functionalities. Below is a graphical representation of the layers for your Piantor keyboard:
Base Layer (U_BASE):
Navigation Layer (U_NAV):
Symbols Layer (U_SYM):
Note: The above layouts are illustrative. Adjust them based on your specific Miryoku configuration.
2. Modular Configuration Files for Kanata
Organizing your Kanata configuration into modular files enhances maintainability and customization. Below is a suggested structure:
Main Keymap File (
keymap.kbd
):Base Layer Configuration (
layers/base.kbd
):Repeat similar structures for
nav.kbd
,symbols.kbd
, andfunction.kbd
, defining the respective layers.Macros File (
macros.kbd
):General Configuration (
config.kbd
):3. Hammerspoon Scripts for Quick Automation
Hammerspoon is a powerful automation tool for macOS that allows you to write Lua scripts to control various aspects of your system. Below are some example scripts to enhance your productivity:
Window Management:
Application Launchers:
Clipboard Manager:
For more Hammerspoon scripts and ideas, refer to [this article](https://micahkepe.com/blog/workflow-automation/).
4. Additional Productivity Enhancements