惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 司徒正美
The GitHub Blog
The GitHub Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Apple Machine Learning Research
Apple Machine Learning Research
L
LangChain Blog
GbyAI
GbyAI
博客园_首页
V
Visual Studio Blog
Martin Fowler
Martin Fowler
WordPress大学
WordPress大学
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 叶小钗
腾讯CDC
博客园 - Franky
IT之家
IT之家
Google DeepMind News
Google DeepMind News
Microsoft Azure Blog
Microsoft Azure Blog
D
Docker
大猫的无限游戏
大猫的无限游戏
Recent Announcements
Recent Announcements
小众软件
小众软件
博客园 - 三生石上(FineUI控件)
B
Blog
酷 壳 – CoolShell
酷 壳 – CoolShell

博客园 - SKILL·NULL

获取指定 dom 的 touchmove 方向及到达边缘时是否禁止橡皮筋效果 如何实现超长数字:先缩小字号,再省略号 如何通过传参来实现SVG排序图标的三种状态 如何为GIT设置全局勾子,为每次提交追加信息 一文了解大模型、小模型与各类神经网络的关系 如何在Mac上调整外星人鼠标AW720M的灯光颜色 IndexedDB封装 echarts获取坐标上的点距离顶部底部高度 Let`s Encrypt 生成免费自动续签 HTTPS 证书 H5滚动截取长图 ReactNative常见问题及处理 根据.nvmrc自动切换项目所需node版本 Command PhaseScriptExecution failed with a nonzero exit code echarts双Y轴,实现均分为包含刻度0的指定段数,同时对齐刻度 env(safe-area-inset-bottom) 兼容写法 缩放实现0.5px 禁止 IOS 橡皮筋效果 JS 拦截浏览器返回 海康威视DS-IPC-E42H-IWPT监控画面竖线处理 Echarts 5 动态按需引入图表 React 18 自定义 Hook 获取 useState 最新值 处理报错 ResizeObserver loop completed with undelivered notifications.
Karabiner-Elements最常用配置
SKILL·NULL · 2026-02-25 · via 博客园 - SKILL·NULL

1、Mouse 4: 单独点击 = Ctrl+左箭头;按住 + 滚轮 = 左右滚动页面

{
    "description": "Mouse 4: 单独点击 = Ctrl+左箭头;按住 + 滚轮 = 左右滚动页面",
    "manipulators": [
        {
            "from": { "pointing_button": "button4" },
            "to": [
                {
                    "set_variable": {
                        "key_up_value": 0,
                        "name": "button4_held",
                        "value": 1
                    }
                }
            ],
            "to_if_alone": [
                {
                    "key_code": "left_arrow",
                    "modifiers": ["left_control"],
                    "repeat": false
                }
            ],
            "type": "basic"
        },
        {
            "conditions": [
                {
                    "name": "button4_held",
                    "type": "variable_if",
                    "value": 1
                }
            ],
            "swap": ["wheels"],
            "type": "mouse_basic"
        }
    ]
}

2、Mouse 5: 单独点击 = Ctrl+右箭头

{
    "description": "Mouse 5: 单独点击 = Ctrl+右箭头",
    "manipulators": [
        {
            "from": { "pointing_button": "button5" },
            "to": [
                {
                    "key_code": "right_arrow",
                    "modifiers": ["left_control"],
                    "repeat": false
                }
            ],
            "type": "basic"
        }
    ]
}

3、Mouse 3: 单独点击 = Ctrl+w (排除部分APP通过 osascript -e 'id of app "WebStorm"' 确认APP的id)

{
    "description": "Mouse 3: 单独点击 = Ctrl+w (排除部分APP通过osascript -e 'id of app \"WebStorm\"')",
    "manipulators": [
        {
            "conditions": [
                {
                    "bundle_identifiers": [
                        "^com\\.jetbrains\\.WebStorm$",
                        "^com\\.jetbrains\\.PhpStorm$",
                        "^com\\.jetbrains\\.pycharm$",
                        "^com\\.jetbrains\\.intellij$",
                        "^com\\.apple\\.dt\\.Xcode$",
                        "^com\\.google\\.android\\.studio$",
                        "^com\\.tencent\\.webplusdevtools$",
                        "^com\\.todesktop\\.230313mzl4w4u92$",
                        "^com\\.sublimetext\\.4$"
                    ],
                    "type": "frontmost_application_unless"
                }
            ],
            "from": { "pointing_button": "button3" },
            "to": [
                {
                    "key_code": "w",
                    "modifiers": ["left_gui"],
                    "repeat": false
                }
            ],
            "type": "basic"
        }
    ]
}