aboutsummaryrefslogtreecommitdiffstats
path: root/_emacs.d/personal
diff options
context:
space:
mode:
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