aboutsummaryrefslogtreecommitdiffstats
path: root/_emacs.d/personal
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-02-22 14:20:17 +0800
committerAaron LI <aaronly.me@gmail.com>2016-02-22 14:20:17 +0800
commit2ec46381b4c252df37696fab7a3cf692f2f54821 (patch)
tree713386e1837851e31d49ae861ab31a428a229f66 /_emacs.d/personal
parent0c4c55436e0083c64131584b0009e83c15d4f13e (diff)
downloaddotfiles-2ec46381b4c252df37696fab7a3cf692f2f54821.tar.bz2
_emacs.d/personal: add fcitx.el for fcitx support in Emacs.
Diffstat (limited to '_emacs.d/personal')
-rw-r--r--_emacs.d/personal/fcitx.el33
-rw-r--r--_emacs.d/personal/preload/.gitkeep0
2 files changed, 33 insertions, 0 deletions
diff --git a/_emacs.d/personal/fcitx.el b/_emacs.d/personal/fcitx.el
new file mode 100644
index 0000000..7448553
--- /dev/null
+++ b/_emacs.d/personal/fcitx.el
@@ -0,0 +1,33 @@
+;;; ~/.emacs.d/personal/fcitx.el --- Configurations for fcitx.el
+;;
+;; -*- mode: emacs-lisp -*-
+;; vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=lisp:
+;;
+;; Aaron LI
+;; 2016-02-22
+;;
+
+;;; Commentary:
+;; Configurations for fcitx.el (https://github.com/cute-jumper/fcitx.el)
+
+;;; Code:
+
+;; fcitx.el: make fcitx better in Emacs.
+(prelude-require-package 'fcitx)
+
+(require 'fcitx)
+
+;; disable fcitx by prefix keys
+(fcitx-prefix-keys-setup) ;; default: `C-x' and `C-c'
+(fcitx-prefix-keys-turn-on)
+
+;; evil support
+(fcitx-evil-turn-on)
+
+;; disable fcitx when use `M-x'
+(fcitx-M-x-turn-on)
+;; disable fcitx when use `M-!' or `M-&'
+(fcitx-shell-command-turn-on)
+;; disable fcitx when use `M-:'
+(fcitx-eval-expression-turn-on)
+
diff --git a/_emacs.d/personal/preload/.gitkeep b/_emacs.d/personal/preload/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/_emacs.d/personal/preload/.gitkeep