emacs - add custom.el which store all config generated customize, do
[dotfiles.git] / emacs.d / custom.el
1 (custom-set-variables
2  ;; custom-set-variables was added by Custom.
3  ;; If you edit it by hand, you could mess it up, so be careful.
4  ;; Your init file should contain only one such instance.
5  ;; If there is more than one, they won't work right.
6  '(canlock-password "1bc544f0a4569648d0e50436801e01f4698a6c4c")
7  '(fringe-mode (quote (4 . 0)) nil (fringe))
8  '(ggtags-split-window-function (quote split-window-vertically))
9  '(hes-mode-alist
10    (quote
11     ((c-mode . "\\(\\\\\\([0-7]\\{1,3\\}\\|x[[:xdigit:]]+\\|u[[:xdigit:]]\\{4\\}\\|U[[:xdigit:]]\\{8\\}\\|[\"'?\\abfnrtv]\\)\\)")
12      (cperl-mode . "\\(\\\\\\([0-7]\\{1,3\\}\\|x[[:xdigit:]]+\\|u[[:xdigit:]]\\{4\\}\\|U[[:xdigit:]]\\{8\\}\\|[\"'?\\abfnrtv]\\)\\)")
13      (c++-mode . "\\(\\\\\\([0-7]\\{1,3\\}\\|x[[:xdigit:]]+\\|u[[:xdigit:]]\\{4\\}\\|U[[:xdigit:]]\\{8\\}\\|[\"'?\\abfnrtv]\\)\\)")
14      (objc-mode . "\\(\\\\\\([0-7]\\{1,3\\}\\|x[[:xdigit:]]+\\|u[[:xdigit:]]\\{4\\}\\|U[[:xdigit:]]\\{8\\}\\|[\"'?\\abfnrtv]\\)\\)")
15      (java-mode . "\\(\\\\\\([0-7]\\{1,3\\}\\|u[[:xdigit:]]\\{4\\}\\|[\"'\\bfnrt]\\)\\)")
16      (js-mode . "\\(\\\\\\([0-7]\\{1,3\\}\\|x[[:xdigit:]]\\{2\\}\\|u[[:xdigit:]]\\{4\\}\\|.\\)\\)")
17      (js2-mode . "\\(\\\\\\([0-7]\\{1,3\\}\\|x[[:xdigit:]]\\{2\\}\\|u[[:xdigit:]]\\{4\\}\\|.\\)\\)")
18      (ruby-mode
19       ("\\(\\\\\\([0-7]\\{1,3\\}\\|x[[:xdigit:]]\\{1,2\\}\\|u\\(?:[[:xdigit:]]\\{4\\}\\|{[[:xdigit:]]\\{1,6\\}\\(?:[[:space:]]+[[:xdigit:]]\\{1,6\\}\\)*}\\)\\|.\\)\\)"
20        (0
21         (let*
22             ((state
23               (syntax-ppss))
24              (term
25               (nth 3 state)))
26           (when
27               (or
28                (and
29                 (eq term 39)
30                 (member
31                  (match-string 2)
32                  (quote
33                   ("\\" "'"))))
34                (if
35                    (fboundp
36                     (quote ruby-syntax-expansion-allowed-p))
37                    (ruby-syntax-expansion-allowed-p state)
38                  (memq term
39                        (quote
40                         (34 47 10 96 t)))))
41             (add-face-text-property
42              (match-beginning 1)
43              (match-end 1)
44              (quote hes-escape-backslash-face))
45             (add-face-text-property
46              (match-beginning 2)
47              (match-end 2)
48              (quote hes-escape-sequence-face))
49             nil))
50         prepend))))))
51  '(org-agenda-files (quote ("~/Private/org/diary.org" "~/temp/org-note.org")))
52  '(powerline-height 14)
53  '(powerline-text-scale-factor 0.85))
54 (custom-set-faces
55  ;; custom-set-faces was added by Custom.
56  ;; If you edit it by hand, you could mess it up, so be careful.
57  ;; Your init file should contain only one such instance.
58  ;; If there is more than one, they won't work right.
59  '(highlight-current-line-face ((t (:background "gray22"))))
60  '(linum ((t (:background "#000000" :foreground "gray40" :height 0.8 :slant italic :weigth light))))
61  '(linum-relative-current-face ((t (:inherit linum :foreground "Yellow" :weight light :height 0.8))))
62  '(mode-line ((t (:foreground "#030303" :background "#bdbdbd" :box nil :family "Source Code Pro for Powerline" :height 100))))
63  '(mode-line-inactive ((t (:foreground "#f9f9f9" :background "#666666" :box nil :family "Source Code Pro for Powerline" :height 100)))))