aboutsummaryrefslogtreecommitdiffstats
path: root/_emacs.d/personal/50-fcitx.el
blob: fb87a45369d7c1232f607c6b76470f8fd56524bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
;;; ~/.emacs.d/personal/50-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)