Skip to content

Instantly share code, notes, and snippets.

@mihyaeru21
Last active August 3, 2017 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mihyaeru21/ee8bea1f3161bb71d3eaa530a875780b to your computer and use it in GitHub Desktop.
Save mihyaeru21/ee8bea1f3161bb71d3eaa530a875780b to your computer and use it in GitHub Desktop.
<C-[>でIMEオフにもするkarabiner.jsonのrule
{
"description": "Change `<C-[>` to `<C-[> + IME off` in some apps.",
"manipulators": [
{
"from": {
"key_code": "open_bracket",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "open_bracket",
"modifiers": [
"control"
]
},
{
"key_code": "japanese_eisuu"
}
],
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"com.googlecode.iterm2",
"org.vim.MacVim",
"com.happenapps.Quiver",
"com.github.atom",
"com.jetbrains.rubymine",
"com.jetbrains.rubymine-EAP",
"com.jetbrains.AppCode",
"com.google.android.studio"
]
}
],
"type": "basic"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment