xml private.xml

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了xml private.xml相关的知识,希望对你有一定的参考价值。

<?xml version="1.0"?>
<root>
  <appdef>
    <appname>iTERM2</appname>
    <equal>com.googlecode.iterm2</equal>
  </appdef>
  <appdef>
    <appname>MACVIM</appname>
    <equal>org.vim.MacVim</equal>
  </appdef>
  <list>
    <item>
      <name>Leave Insert Mode with EISUU (vim keybind apps)</name>
      <identifier>private.vim_keybind_apps_esc_with_eisuu</identifier>
      <only>iTERM2,TERMINAL,MACVIM</only>
      <autogen>--KeyToKey-- KeyCode::ESCAPE, KeyCode::ESCAPE, KeyCode::JIS_EISUU</autogen>
      <autogen>__KeyToKey__ KeyCode::BRACKET_LEFT, VK_CONTROL, KeyCode::BRACKET_LEFT, VK_CONTROL, KeyCode::JIS_EISUU</autogen>
    </item>
    <item>
        <name>Command + F12: Copy</name>
        <identifier>private.command-f12_insert</identifier>
        <autogen>
            __KeyToKey__ KeyCode::F12, ModifierFlag::COMMAND_R, 
            KeyCode::C, ModifierFlag::COMMAND_R
        </autogen>
    </item>
    <item>
        <name>Shift + F12: Paste</name>
        <identifier>private.shift-f12_paste</identifier>
        <autogen>
            __KeyToKey__ KeyCode::F12, ModifierFlag::SHIFT_R, 
            KeyCode::V, ModifierFlag::COMMAND_R
        </autogen>
    </item>
    <item>
        <name>Shift + Delete: Cut</name>
        <identifier>private.shift-del_cut</identifier>
        <autogen>
            __KeyToKey__ KeyCode::DELETE, ModifierFlag::SHIFT_R, 
            KeyCode::X, ModifierFlag::COMMAND_R
        </autogen>
    </item>
    <item>
        <name>Shift + F10: Right click</name>
        <identifier>private.shift-f10_right-click</identifier>
        <autogen>
            __KeyToKey__ KeyCode::F10, ModifierFlag::SHIFT_R, 
            KeyCode::VK_MOUSEKEY_BUTTON_RIGHT
        </autogen>
    </item>
  </list>
  </root>

以上是关于xml private.xml的主要内容,如果未能解决你的问题,请参考以下文章

xml private.xml

xml private.xml

xml private.xml

xml Karabiner private.xml用于交换Parallels的选项和命令键

xml 用于非Apple键盘的Karabiner private.xml切换目标显示模式

xml 我的Karabiner的`private.xml`(https://pqrs.org/osx/karabiner/index.html.en)。