Created
October 20, 2012 08:01
-
-
Save sky-y/3922629 to your computer and use it in GitHub Desktop.
key-combo.elのグローバル設定
This file contains 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
;; key-combo.el | |
;; http://d.hatena.ne.jp/uk-ar/20111208/1322572618 | |
(require 'key-combo) | |
(key-combo-define-global (kbd "(") '("(" "(`!!')" "( `!!' )" "((")) | |
;; (key-combo-define-global (kbd "(") '("(")) | |
;; (key-combo-define-global (kbd "(") '("(")) | |
;; (key-combo-define-global (kbd "()") '("()")) | |
(key-combo-define-global (kbd "{") '("{" "{`!!'}" "{ `!!' }" "{{")) | |
(key-combo-define-global (kbd "{}") "{}") | |
;; (key-combo-define-global (kbd "\"") '("\"" "\"`!!`\"")) ; これだと動かない | |
(key-combo-define-global "\"" '("\"" "\"`!!'\"")) ; こっちだと動いた | |
(key-combo-define-global (kbd "'") '("'" "'`!!''")) | |
(key-combo-mode 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(key-combo-define-global """ '(""" ""`!!'""))
ではどうでしょう?