Skip to content

Instantly share code, notes, and snippets.

@kaosf
Created March 29, 2013 04:42
Show Gist options
  • Save kaosf/5268790 to your computer and use it in GitHub Desktop.
Save kaosf/5268790 to your computer and use it in GitHub Desktop.
窓使いの憂鬱設定ファイル (.mayu)
#### 全体的なキーボード配置変更 ################################################
include "109.mayu"
include "104on109.mayu"
keymap Global
def subst *英数 = *英数
mod control += 英数
key *英数 = *LeftControl
def subst *変換 = *変換
key S-C-Space = $ToggleIME
# include "109.mayu"
# include "104on109.mayu"
# keymap Global
# def subst *英数 = *英数
# mod control += 英数
# key *英数 = *LeftControl
# def subst *変換 = *変換
# def subst *無変換 = $ToggleIME
# include "109.mayu"
# include "104on109.mayu"
# keymap Global
# def subst *英数 = *英数
# mod control += 英数
# key *英数 = *LeftControl
# def subst *RightSquareBracket = *Enter
# def subst *変換 = *変換
# def subst *無変換 = $ToggleIME
### for HHK Pro2
# include "109.mayu"
# include "104on109.mayu"
# keymap Global
# def subst *英数 = *英数
# mod control += 英数
# key *英数 = *LeftControl
# def subst *Esc = *$GRAVE_ACCENT
# def subst S-*Esc = *$TILDE
# def subst *半角/全角 = *Esc
# def subst *変換 = *変換
# def subst *無変換 = $ToggleIME
### for HHK Pro2 (ver. 2)
# include "109.mayu"
# include "104on109.mayu"
# keymap Global
# def subst *英数 = *英数
# mod control += 英数
# key *英数 = *LeftControl
# # def subst *Esc = *$GRAVE_ACCENT
# # def subst S-*Esc = *$TILDE
# # def subst *半角/全角 = *Esc
# # def subst *変換 = *変換
# # def subst *無変換 = $ToggleIME
#### Visual C++ でのショートカットキー定義 #####################################
window VisualC++ /VCExpress\.exe/ : Global
#C-h で BackSpace,C-r で置換, S-C-r でプロジェクト内一括置換
key C-h = BackSpace
key C-r = C-h
key S-C-r = S-C-h
#C-d で Delete
key C-d = Delete
#C-j, k, i, l で Left, Down, Up, Right
key C-j = Left
key C-k = Down
key C-i = Up
key C-l = Right
key S-C-i = S-Up
key S-C-l = S-Right
key S-C-k = S-Down
key S-C-j = S-Left
#C-a, e で Home, End
key C-a = Home
key C-e = End
#M-S-a で全選択 (C-a を使ってしまったことへの代替)
key M-S-a = C-a
#### bluewind でのショートカットキー定義 #######################################
window bluewind /bluewind\.exe/ : Global
#C-j で Down,C-k で Up
key C-j = Down
key C-k = Up
key C-m = Enter
#### Eclipse でのショートカットキー定義 ########################################
window Eclipse /eclipse\.exe/ : Global
#C-h で BackSpace,C-r で置換
key C-h = BackSpace
key C-r = C-h
#C-d で Delete
key C-d = Delete
#C-i, l, k, j で Up, Right, Down, Left
key C-i = Up
key C-l = Right
key C-k = Down
key C-j = Left
key S-C-i = S-Up
key S-C-l = S-Right
key S-C-k = S-Down
key S-C-j = S-Left
#C-a, e で Home, End
key C-a = Home
key C-e = End
#M-S-a で全選択 (C-a を使ってしまったことへの代替)
key M-S-a = C-a
#### CPad for Borland C++ Compiler でのショートカットキー定義 ##################
window BCPad /bcpad\.exe/ : Global
#C-d で Delete
key C-d = Delete
#C-i, l, k, j で Up, Right, Down, Left
key C-i = Up
key C-l = Right
key C-k = Down
key C-j = Left
key S-C-i = S-Up
key S-C-l = S-Right
key S-C-k = S-Down
key S-C-j = S-Left
#C-a, e で Home, End
key C-a = Home
key C-e = End
#M-S-a で全選択 (C-a を使ってしまったことへの代替)
key M-S-a = C-a
#### 備忘録 ####################################################################
# ウィンドウクラス名・タイトル名を調べるには調査ウィンドウを使用
# window 適当な名前 /正規表現でウィンドウクラス名/ : Global
# ↑この様に書く (と何となく出来てしまう 詳しい設計思想はよー分からん)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment