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

推荐订阅源

Jina AI
Jina AI
Apple Machine Learning Research
Apple Machine Learning Research
宝玉的分享
宝玉的分享
M
MIT News - Artificial intelligence
S
SegmentFault 最新的问题
博客园 - 叶小钗
量子位
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - Franky
博客园 - 司徒正美
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
人人都是产品经理
人人都是产品经理
Hugging Face - Blog
Hugging Face - Blog
V
Visual Studio Blog
阮一峰的网络日志
阮一峰的网络日志
博客园 - 【当耐特】
Google DeepMind News
Google DeepMind News
L
LangChain Blog
Stack Overflow Blog
Stack Overflow Blog
博客园_首页
U
Unit 42
月光博客
月光博客
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC

博客园 - 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"
        }
    ]
}