bartvanremortele
1/25/2014 - 10:57 PM

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>