From 2ec46381b4c252df37696fab7a3cf692f2f54821 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 22 Feb 2016 14:20:17 +0800 Subject: _emacs.d/personal: add fcitx.el for fcitx support in Emacs. --- _emacs.d/personal/fcitx.el | 33 +++++++++++++++++++++++++++++++++ _emacs.d/personal/preload/.gitkeep | 0 2 files changed, 33 insertions(+) create mode 100644 _emacs.d/personal/fcitx.el create mode 100644 _emacs.d/personal/preload/.gitkeep (limited to '_emacs.d/personal') 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 -- cgit v1.2.2