私の[[🦉JINRAI]]の設定。 | 対象 | バージョン | | ------------ | ------ | | [[🦉JINRAI]] | 0.18.0 | `~/.hammerspoon/init.lua` ```lua local HYPER_KEY = { "cmd", "alt", "ctrl", "shift" } local config = { focus_border = {}, focus_back = {}, window_hints = { hint = { prefixOverrides = { { match = { bundleID = "md.obsidian", titleGlob = "*- minerva - Obsidian*" }, prefix = "M", }, { match = { bundleID = "com.google.Chrome" }, prefix = "E", }, }, }, navigation = { focusBack = { key = "w", }, direction = { hints = { keys = { left = "h", down = "j", up = "k", right = "l", upLeft = "u", upRight = "o", }, }, }, spaces = { prev = { key = ",", }, next = { key = ".", }, }, }, behavior = { selection = { swapWindowFrame = { modifiers = { "shift" }, }, }, }, }, window_mover = { commands = { moveToNextDisplay = { hotkey = { modifiers = HYPER_KEY, key = "t", }, }, moveToActiveDisplayFreeArea = { hotkey = { modifiers = HYPER_KEY, key = "a", }, }, maximizeWindow = { hotkey = { modifiers = { "ctrl", "alt" }, key = "return", }, }, cycleLeft = { hotkey = { modifiers = { "ctrl", "alt" }, key = "left", }, }, cycleHorizontalCenter = { hotkey = { modifiers = { "ctrl", "alt" }, key = "c", }, }, cycleRight = { hotkey = { modifiers = { "ctrl", "alt" }, key = "right", }, }, cycleVerticalCenter = { hotkey = { modifiers = { "ctrl", "alt" }, key = "v", }, }, moveToSelectedArea = { hotkey = { modifiers = { "ctrl", "shift" }, key = "s", }, }, }, selectedArea = { screens = { ["37D8832A-2D66-02CA-B9F7-8F30A301B230"] = { full = "JJ", }, ["BE98B626-FF4E-47A3-9D0E-A741818FD269"] = { full = "KD", halfLeft = "KH", halfRight = "KL", twoThirdsHorizontalCenter = "KS", halfHorizontalCenter = "KK", ["1920x1080Center"] = "K1", ["1280x720Center"] = "K2", quarterLeft = "KA", quarterRight = "K;", }, ["F7E6F84B-8DAD-424B-92F3-D5043484057C"] = { full = "LL", halfTop = "LK", halfBottom = "LJ", }, }, }, }, } -- 開発用 hs.loadSpoon("Jinrai") spoon.Jinrai:setup(config) ```