sairen139's recent timeline updates
sairen139

sairen139

V2EX member #203572, joined on 2016-11-30 00:04:59 +08:00
  •   The specified image does not exist
    sairen139's recent replies
    Dec 25, 2016
    Replied to a topic by nozama 分享创造 发布 CmdTap 1.0 - 任务切换增强 for Mac
    @nozama
    要是 cmdtap 能同时支持单击右下角的 Fn 键和 capslock 键作为热键就更好了。这个键也很方便。热键多兼容几个比只能选择一个更符合用户的使用需求。
    Dec 25, 2016
    Replied to a topic by nozama 分享创造 发布 CmdTap 1.0 - 任务切换增强 for Mac
    @nozama

    有个需求,请同时支持单击 option 键和单击 ctrl 键作为热键。
    cmdtap 功能很好,只是它只支持单一的某个热键太少了点。
    Dec 20, 2016
    Replied to a topic by sumanx 中州韻 刚刚弃用了鼠须管
    贴一个并击的配置(琴码速录)

    # Rime schema
    # encoding: utf-8

    schema:
      schema_id: combo_pinyin
      name: 琴码拼音
      version: "0.1"
      author:
        - 佛振 <[email protected]>
      description: |
        並擊輸入拼音

    switches:
      - name: ascii_mode
        reset: 0
        states: [ 中文, 西文 ]
      - name: full_shape
        states: [ 半角, 全角 ]
      - name: simplification
        states: [ 漢字, 汉字 ]

    engine:
      processors:
        - ascii_composer
        - chord_composer
        - recognizer
        - key_binder
        - speller
        - punctuator
        - selector
        - navigator
        - express_editor
      segmentors:
        - ascii_segmentor
        - matcher
        - abc_segmentor
        - punct_segmentor
        - fallback_segmentor
      translators:
        - punct_translator
        - r10n_translator
      filters:
        - simplifier
        - uniquifier

    speller:
      alphabet: zyxwvutsrqponmlkjihgfedcba
      delimiter: " '"
      algebra:
        - erase/^xx$/

    chord_composer:
      chord_duration: 0.05
      alphabet: "qazwsxedcrfvtgbhnujmikol/"
      algebra:
        - 'xlit|qazwsxedcrfvtgbhnujmikol|QAZWSXEDCRFVTGBHNUJMIKOL|'
        - xform/^DF/j/
        - xform/^ER/y/
        - xform/^WE/p/
        - xform/^SD/k/
        - xform/^XC/m/
        - xform/^CV/n/
        - xform/^WR/h/
        - xform/^SF/l/
        - xform/^B/b/
        - xform/^D/d/
        - xform/^G/g/
        - xform/^Z/z/
        - xform/^V/zh/
        - xform/^T/t/
        - xform/^Q/q/
        - xform/^C/c/
        - xform/^A/ch/
        - xform/^W/w/
        - xform/^X/x/
        - xform/^S/s/
        - xform/^E/sh/
        - xform/^F/f/
        - xform/^R/r/

        - xform/JK$/ao/
        - xform/([jqxy])NK$/$1ue/
        - xform/([nl])NK$/$1ve/
        - xform/NK$/ui/
        - xform/([nl])HU$/$1v/
        - xform/HU$/er/
        - xform/JI$/ai/
        - xform/UI$/ei/
        - xform/IO$/in/
        - xform/([jqx])ML$/$1iong/
        - xform/ML$/ong/
        - xform/JO$/an/
        - xform/UO$/en/
        - xform/IL$/ing/
        - xform/MK$/ou/
        - xform/KL$/uan/
        - xform/JL$/ang/
        - xform/UL$/eng/
        - xform/KO$/un/
        - xform/HI$/iu/
        - xform/KO$/vn/
        - xform/([jqx])J$/$1ia/
        - xform/J$/a/
        - xform/U$/e/
        - xform/I$/i/
        - xform/([fwbmpy])M$/$1o/
        - xform/M$/uo/
        - xform/([bdflmnptjqx])H$/$1iao/
        - xform/([bdlmnptjqx])O$/$1ian/
        - xform/^O$/o/
        - xform/H$/ua/
        - xform/N$/ie/
        - xform/O$/uai/
        - xform/K$/u/
        - xform/([nljqx])L$/$1iang/
        - xform/([hgk])L$/$1uang/
      # 並擊完成後套用的式樣,追加隔音符號
      output_format:
        - "xform/^([a-z]+)$/$1'/"
      # 並擊過程中套用的式樣,加方括弧
      prompt_format:
        - "xform/^(.*)$/[$1]/"

    translator:
      dictionary: luna_pinyin
      prism: combo_pinyin
      preedit_format:
        - xform/([nl])v/$1ü/
        - xform/([nl])ue/$1üe/



    punctuator:
      import_preset: default

    key_binder:
      import_preset: default

    recognizer:
      import_preset: default
    Dec 20, 2016
    Replied to a topic by Jobin0528 问与答 鼠须管真的好快啊
    琴码速录并击配置文件

    # Rime schema
    # encoding: utf-8

    schema:
      schema_id: combo_pinyin
      name: 琴码拼音
      version: "0.1"
      author:
        - 佛振 <[email protected]>
      description: |
        並擊輸入拼音

    switches:
      - name: ascii_mode
        reset: 0
        states: [ 中文, 西文 ]
      - name: full_shape
        states: [ 半角, 全角 ]
      - name: simplification
        states: [ 漢字, 汉字 ]

    engine:
      processors:
        - ascii_composer
        - chord_composer
        - recognizer
        - key_binder
        - speller
        - punctuator
        - selector
        - navigator
        - express_editor
      segmentors:
        - ascii_segmentor
        - matcher
        - abc_segmentor
        - punct_segmentor
        - fallback_segmentor
      translators:
        - punct_translator
        - r10n_translator
      filters:
        - simplifier
        - uniquifier

    speller:
      alphabet: zyxwvutsrqponmlkjihgfedcba
      delimiter: " '"
      algebra:
        - erase/^xx$/

    chord_composer:
      chord_duration: 0.05
      alphabet: "qazwsxedcrfvtgbhnujmikol/"
      algebra:
        - 'xlit|qazwsxedcrfvtgbhnujmikol|QAZWSXEDCRFVTGBHNUJMIKOL|'
        - xform/^DF/j/
        - xform/^ER/y/
        - xform/^WE/p/
        - xform/^SD/k/
        - xform/^XC/m/
        - xform/^CV/n/
        - xform/^WR/h/
        - xform/^SF/l/
        - xform/^B/b/
        - xform/^D/d/
        - xform/^G/g/
        - xform/^Z/z/
        - xform/^V/zh/
        - xform/^T/t/
        - xform/^Q/q/
        - xform/^C/c/
        - xform/^A/ch/
        - xform/^W/w/
        - xform/^X/x/
        - xform/^S/s/
        - xform/^E/sh/
        - xform/^F/f/
        - xform/^R/r/

        - xform/JK$/ao/
        - xform/([jqxy])NK$/$1ue/
        - xform/([nl])NK$/$1ve/
        - xform/NK$/ui/
        - xform/([nl])HU$/$1v/
        - xform/HU$/er/
        - xform/JI$/ai/
        - xform/UI$/ei/
        - xform/IO$/in/
        - xform/([jqx])ML$/$1iong/
        - xform/ML$/ong/
        - xform/JO$/an/
        - xform/UO$/en/
        - xform/IL$/ing/
        - xform/MK$/ou/
        - xform/KL$/uan/
        - xform/JL$/ang/
        - xform/UL$/eng/
        - xform/KO$/un/
        - xform/HI$/iu/
        - xform/KO$/vn/
        - xform/([jqx])J$/$1ia/
        - xform/J$/a/
        - xform/U$/e/
        - xform/I$/i/
        - xform/([fwbmpy])M$/$1o/
        - xform/M$/uo/
        - xform/([bdflmnptjqx])H$/$1iao/
        - xform/([bdlmnptjqx])O$/$1ian/
        - xform/^O$/o/
        - xform/H$/ua/
        - xform/N$/ie/
        - xform/O$/uai/
        - xform/K$/u/
        - xform/([nljqx])L$/$1iang/
        - xform/([hgk])L$/$1uang/
      # 並擊完成後套用的式樣,追加隔音符號
      output_format:
        - "xform/^([a-z]+)$/$1'/"
      # 並擊過程中套用的式樣,加方括弧
      prompt_format:
        - "xform/^(.*)$/[$1]/"

    translator:
      dictionary: luna_pinyin
      prism: combo_pinyin
      preedit_format:
        - xform/([nl])v/$1ü/
        - xform/([nl])ue/$1üe/



    punctuator:
      import_preset: default

    key_binder:
      import_preset: default

    recognizer:
      import_preset: default
    @bao3
    配合 hyperswitch ,修改 for_mission_control.xml 里面的激活 cmdtab 模式语句也很不错
    添加的内容如下:
    <item>
    <name>Control_L to toggle Cmd+Tab</name>
    <identifier>remap.simultaneouskeypresses_cmdtab_tabq</identifier>
    <!-- send CONTROL_R when the CONTROL_L key is pressed and held down. -->
    <autogen>
    __HoldingKeyToKey__
    KeyCode::CONTROL_L,

    <!-- short press -->
    @begin
    KeyCode::VK_CONFIG_FORCE_ON_notsave_cmdtab_mode,
    KeyCode::VK_LOCK_COMMAND_L_FORCE_ON,
    KeyCode::TAB,
    @end

    <!-- hold -->
    @begin
    KeyCode::CONTROL_R,
    @end

    Option::NOREPEAT,
    </autogen>
    <autogen>
    __SimultaneousKeyPresses__
    KeyCode::TAB, KeyCode::Q,
    KeyCode::VK_CONFIG_FORCE_ON_notsave_cmdtab_mode,
    KeyCode::VK_LOCK_COMMAND_L_FORCE_ON,
    KeyCode::TAB,
    </autogen>
    </item>
    <item>
    <name>OPTION_L to toggle Cmd+Tab ( one )</name>
    <identifier>remap.HoldingKeyToKey_cmdtab_tabq</identifier>
    <!-- send OPTION_R when the OPTION_L key is pressed and held down. -->
    <autogen>
    __HoldingKeyToKey__
    KeyCode::OPTION_L,

    <!-- short press -->
    @begin
    KeyCode::VK_CONFIG_FORCE_ON_notsave_cmdtab_mode,
    KeyCode::VK_LOCK_COMMAND_L_FORCE_ON,
    KeyCode::TAB,
    @end

    <!-- hold -->
    @begin
    KeyCode::OPTION_R,
    @end

    Option::NOREPEAT,
    </autogen>
    </item>
    <item>
    <name>OPTION_L to toggle Cmd+Tab ( Two )</name>
    <identifier>remap.KeyOverlaidModifier_cmdtab_tabq</identifier>
    <autogen>
    __KeyOverlaidModifier__
    KeyCode::OPTION_L,
    KeyCode::VK_CONFIG_FORCE_ON_notsave_cmdtab_mode,
    KeyCode::VK_LOCK_COMMAND_L_FORCE_ON,
    KeyCode::TAB,
    </autogen>
    </item>
    Dec 18, 2016
    Replied to a topic by codeplay macOS 键盘党在 OSX 优雅的切换程序(窗口)?
    @coldplay
    你的双击 ctrl 方案很棒,要是能再弄一个单击 ctrl 激活该模式,不让 crtl 的组合键失效的方案就更好了。兄弟有空搞一搞看能不能实现单击 ctrl 的方案。
    Dec 18, 2016
    Replied to a topic by codeplay macOS 键盘党在 OSX 优雅的切换程序(窗口)?
    @coldplay
    我修改为单机左边 option 启动该切换 mode ,但是左边 option 键和其他键的组合键缺失效率。请问兄弟能提供单机 option 启动该模式又不让 option 组合键功能失效的配置语句吗?谢谢
    Dec 2, 2016
    Replied to a topic by codeplay macOS 键盘党在 OSX 优雅的切换程序(窗口)?
    ihjk 比 hjkl 更合适
    @bao3 找来找去就你的方法最好,请兄弟贴出这两种切换的 karabiner 的具体实现方法让我们学习学习。先谢谢了。
    @bao3 请问使用 karabiner 时,长按 w 实现同一个 app 不同窗体怎么实现的?按 T 怎么切换不同 app 的。是修改 karabiner 的某种 mode 的配置文件实现的吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5926 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 12ms · UTC 02:55 · PVG 10:55 · LAX 19:55 · JFK 22:55
    ♥ Do have faith in what you're doing.