xml private.xml

Posted

tags:

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

<?xml version="1.0"?>
<root>
	<appdef>
		<appname>INTELLIJ</appname>
		<equal>com.jetbrains.intellij</equal>
	</appdef>
	
	<replacementdef>
		<replacementname>MY_IGNORE_APPS</replacementname>
		<replacementvalue>VIRTUALMACHINE, TERMINAL, REMOTEDESKTOPCONNECTION, VNC, INTELLIJ</replacementvalue>
	</replacementdef>
	
	<replacementdef>
		<replacementname>MY_IGNORE_APPS_APPENIDX</replacementname>
		<replacementvalue>(Except in Virtual Machine, Terminal, RDC, VNC and IntelliJ)</replacementvalue>
	</replacementdef>
	
	
	<item>
		<name>Use PC style alt-TAB for application switching</name>
		<appendix>{{ MY_IGNORE_APPS_APPENIDX }}</appendix>
		<identifier>private.swap_alt-tab_and_cmd-tab</identifier>
		<not>{{ MY_IGNORE_APPS }}</not>
		<autogen>__KeyToKey__ KeyCode::TAB, ModifierFlag::OPTION_L, KeyCode::TAB, ModifierFlag::COMMAND_L</autogen>
	</item>

	<item>
		<name>Swap backslash and backquote for British PC keyboard</name>
		<identifier>private.swap_backslash_and_quote_for_britishpc</identifier>
		<autogen>__KeyToKey__ KeyCode::DANISH_DOLLAR, KeyCode::BACKQUOTE</autogen>
		<autogen>__KeyToKey__ KeyCode::BACKQUOTE, KeyCode::DANISH_DOLLAR</autogen>
	</item>
	
	<item>
		<name>Use PC Ctrl-Home/End to move to top/bottom of document</name>
		<appendix>{{ MY_IGNORE_APPS_APPENIDX }}</appendix>
		<identifier>private.use_PC_ctrl-home/end</identifier>
		<not>{{ MY_IGNORE_APPS }}</not>
		<autogen>__KeyToKey__ KeyCode::HOME, ModifierFlag::CONTROL_L, KeyCode::CURSOR_UP, ModifierFlag::COMMAND_L</autogen>
		<autogen>__KeyToKey__ KeyCode::HOME, ModifierFlag::CONTROL_R, KeyCode::CURSOR_UP, ModifierFlag::COMMAND_L</autogen>
		<autogen>__KeyToKey__ KeyCode::END, ModifierFlag::CONTROL_L, KeyCode::CURSOR_DOWN, ModifierFlag::COMMAND_L</autogen>
		<autogen>__KeyToKey__ KeyCode::END, ModifierFlag::CONTROL_R, KeyCode::CURSOR_DOWN, ModifierFlag::COMMAND_L</autogen>
	</item>
</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)。