I am trying to remap specific
Ctrl+<Key> combinations to
Command+<Key> in Terminal.app using Karabiner. The following
private.xml is used:
<?xml version="1.0"?> <root> <item> <name>Swap Ctrl+S and Cmd+S</name> <identifier>private.filters_cmd</identifier> <only>TERMINAL</only> <autogen>__KeyToKey__ KeyCode::S, ModifierFlag::COMMAND_L, KeyCode::S, ModifierFlag::CONTROL_L</autogen> <autogen>__KeyToKey__ KeyCode::S, ModifierFlag::COMMAND_R, KeyCode::S, ModifierFlag::CONTROL_R</autogen> </item> </root>
For now only
Ctrl+S is remapped. However, it only works if no application-level filtering is set via
<only>. And i would want those mappings to be active only in Terminal.app.
Probably there is something wrong with my definition. Can someone please advise?
I am using OS X 10.11.3.