Skip to content

Instantly share code, notes, and snippets.

@rcmdnk
Created May 30, 2013 21:07
Show Gist options
  • Save rcmdnk/5681243 to your computer and use it in GitHub Desktop.
Save rcmdnk/5681243 to your computer and use it in GitHub Desktop.
Send escape sequence to the terminal (Setting tip for KeyRemap4Macbook)
<item>
<name>Command + (f, b, d, y, Ctrl-y, Ctrl-h, &lt;, &gt; c, u, ., _, ) to ESC + * </name>
<identifier>private.iterm2.escape_sequence</identifier>
<only>TERMINAL</only>
<autogen>
__KeyToKey__ KeyCode::F,
MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_COMMAND|ModifierFlag::NONE,
KeyCode::ESCAPE, KeyCode::F
</autogen>
<autogen>
__KeyToKey__ KeyCode::B,
MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_COMMAND|ModifierFlag::NONE,
KeyCode::ESCAPE, KeyCode::B
</autogen>
<autogen>
__KeyToKey__ KeyCode::D,
MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_COMMAND|ModifierFlag::NONE,
KeyCode::ESCAPE, KeyCode::D
</autogen>
<autogen>
__KeyToKey__ KeyCode::Y,
MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_COMMAND|ModifierFlag::NONE,
KeyCode::ESCAPE, KeyCode::Y
</autogen>
</item>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment