Skip to content

Instantly share code, notes, and snippets.

Last active Aug 29, 2015
What would you like to do?
Private.xml for Karabiner to toggle mozc_input on Sublime Text (Mac)
<?xml version="1.0"?>
<!-- If you use Sublime Text 2, you should change above '3' into '2' -->
<name>Command_LR to toggle_mozc on SublimeText3</name>
<autogen>__KeyOverlaidModifier__ KeyCode::COMMAND_L, KeyCode::COMMAND_L, KeyCode::SLASH, ModifierFlag::CONTROL_L</autogen>
<autogen>__KeyOverlaidModifier__ KeyCode::COMMAND_R, KeyCode::COMMAND_R, KeyCode::SEMICOLON, ModifierFlag::CONTROL_L</autogen>
You need to set following keybindings to your Sublime Text.
Also you have to install Mozc to your Mac, and SublimeMozcInput to your Sublime Text.
{ "keys": ["ctrl+;"], "command": "activate_mozc" },
{ "keys": ["ctrl+/"], "command": "deactivate_mozc" }
If you want to change the keybindings, you can change above <autogen> in response to your preference.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment