-
-
Save aileron/35084ab8a8f5a734f4bb6c4e294d1785 to your computer and use it in GitHub Desktop.
Keyhac
This file contains hidden or 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
import sys | |
import os | |
import datetime | |
import subprocess | |
from keyhac import * | |
def configure(keymap): | |
keymap_terminal = keymap.defineWindowKeymap( app_name="com.googlecode.iterm2" ) # iterm2だけのローカル設定 | |
keymap_terminal["Ctrl-J"] = "104" # CTRL-Jを入力するとかなを送信。104はかなキーの仮想キーコード | |
keymap_terminal = keymap.defineWindowKeymap( app_name="com.tinyspeck.slackmacgap" ) # slack だけのローカル設定 | |
keymap_terminal["Ctrl-J"] = "104" # CTRL-Jを入力するとかなを送信。104はかなキーの仮想キーコード |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment