Created
February 14, 2013 18:46
-
-
Save jondkinney/4955177 to your computer and use it in GitHub Desktop.
private.xml file for KeyRemap4MacBook which provides several custom key maps when using iTerm only. Great for console Vim.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Fn keys for iterm</name> | |
<identifier>private.fn_keys_for_iterm</identifier> | |
<only>TERMINAL</only> | |
<autogen>--ConsumerToKey-- ConsumerKeyCode::VOLUME_UP, KeyCode::F12</autogen> | |
<autogen>--ConsumerToKey-- ConsumerKeyCode::VOLUME_DOWN, KeyCode::F11</autogen> | |
<autogen>--ConsumerToKey-- ConsumerKeyCode::MUSIC_PLAY, KeyCode::F8 </autogen> | |
<autogen>--ConsumerToKey-- ConsumerKeyCode::MUSIC_PREV, KeyCode::F7 </autogen> | |
<autogen>--ConsumerToKey-- ConsumerKeyCode::KEYBOARDLIGHT_HIGH, KeyCode::F6 </autogen> | |
<autogen>--ConsumerToKey-- ConsumerKeyCode::KEYBOARDLIGHT_LOW, KeyCode::F5 </autogen> | |
<autogen>--ConsumerToKey-- ConsumerKeyCode::BRIGHTNESS_UP, KeyCode::F2 </autogen> | |
<autogen>--ConsumerToKey-- ConsumerKeyCode::BRIGHTNESS_DOWN, KeyCode::F1 </autogen> | |
</item> | |
<item> | |
<name>Remap Left Control to Hyper</name> | |
<appendix>OS X doesn't have a Hyper. This maps Left Control to Control + Shift + Option + Command.</appendix> | |
<identifier>space_cadet.left_control_to_hyper</identifier> | |
<autogen> | |
--KeyToKey-- | |
KeyCode::F19, | |
KeyCode::COMMAND_L, | |
ModifierFlag::OPTION_L | ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L | |
</autogen> | |
</item> | |
</root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment