-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathinit.elc
37 lines (33 loc) · 16.8 KB
/
init.elc
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
34
35
;ELC
;;; Compiled
;;; in Emacs version 24.5.1
;;; with all optimizations.
;;; This file contains utf-8 non-ASCII characters,
;;; and so cannot be loaded into Emacs 22 or earlier.
(and (boundp 'emacs-version)
(< (aref emacs-version (1- (length emacs-version))) ?A)
(string-lessp emacs-version "23")
(error "`%s' was compiled for Emacs 23 or later" #$))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
#@124 Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values.
(defalias 'dotspacemacs/layers #[nil "\300\301\302\"\210\300\303\304\"\210\300\305\306\"\210\300\307\310\"\210\300\311\312\"\210\300\313\310\"\210\300\314\315\"\210\300\316\306\"\207" [set-default dotspacemacs-distribution spacemacs dotspacemacs-enable-lazy-installation unused dotspacemacs-ask-for-lazy-installation t dotspacemacs-configuration-layer-path nil dotspacemacs-configuration-layers (erlang elixir python windows-scripts spacemacs-helm spacemacs-ivy better-defaults react github (version-control :variables version-control-diff-tool 'git-gutter+ version-control-global-margin t) osx markdown (vinegar :variables vinegar-reuse-dired-buffer t) org prodigy search-engine (syntax-checking :variables syntax-checking-enable-by-default nil) (spell-checking :variables spell-checking-enable-by-default nil) yaml themes-megapack html command-log javascript emacs-lisp (ranger :variables ranger-show-preview -1) (spacemacs-layouts :variables layouts-enable-autosave t layouts-autosave-delay 60000) (colors :variables colors-enable-nyan-cat-progress-bar t) (git :variables git-magit-status-fullscreen t magit-push-always-verify nil magit-save-repository-buffers 'dontask magit-revert-buffers 'silent magit-refs-show-commit-count 'all magit-revision-show-gravatars nil) (ibuffer :variables ibuffer-group-buffers-by 'projects) (auto-completion :variables auto-completion-enable-sort-by-usage t) (shell :variables shell-default-position 'full shell-default-shell 'ansi-term shell-default-term-shell "/usr/local/bin/fish") zilongshanren guanghui) dotspacemacs-additional-packages dotspacemacs-excluded-packages (magit-gh-pulls magit-gitflow evil-mc skewer-mode vi-tilde-fringe coffee-mode ace-jump-helm-line evil-tutor eyebrowse stickyfunc-enhance flx-ido smooth-scrolling org-repo-todo chinese-wbim chinese-pyim srefactor org-download org-timer org-plus-contrib org-tree-slide git-gutter git-gutter-fringe leuven-theme gh-md evil-lisp-state spray doc-view lorem-ipsum solarized-theme beacon) dotspacemacs-delete-orphan-packages] 3 (#$ . 411)])
#@208 Initialization function.
This function is called at the very startup of Spacemacs initialization
before layers configuration.
You should not put any user code in there besides modifying the variable
values.
(defalias 'dotspacemacs/init #[nil "\300\301\302\"\210\300\303\304\"\210\300\305\306\"\210\300\307\310\"\210\300\311\302\"\210\300\312\313\"\210\300\314\315\"\210\300\316\317\"\210\300\320\321\"\210\300\322\323\"\210\300\324\306\"\210\300\325\326\"\210\300\327\330\"\210\300\331\332\"\210\300\333\334\"\210\300\335\336\"\210\300\337\340\"\210\300\341\302\"\210\300\342\306\"\210\300\343\302\"\210\300\344\345\"\210\300\346\302\"\210\300\347\302\"\210\300\350\351\"\210\300\352\353\"\210\300\354\304\"\210\300\355\302\"\210\300\356\302\"\210\300\357\360\"\210\300\361\302\"\210\300\362\363\"\210\300\364\360\"\210\300\365\306\"\210\300\366\302\"\210\300\367\302\"\210\300\370\306\"\210\300\371\372\"\210\300\373\372\"\210\300\374\306\"\210\300\375\306\"\210\300\376\306\"\210\300\377\302\"\210\300\201@ \302\"\210\300\201A \306\"\210\300\201B \302\"\210\300\201C \302\"\210\300\201D \302\"\210\300\201E \201F \"\210\300\201G \302\"\210\300\201H \201I \"\207" [set-default dotspacemacs-elpa-https nil dotspacemacs-elpa-timeout 5 dotspacemacs-check-for-update t dotspacemacs-editing-style vim dotspacemacs-verbose-loading dotspacemacs-startup-banner official dotspacemacs-startup-lists (recents projects bookmarks) dotspacemacs-startup-recent-list-size 10 dotspacemacs-scratch-mode text-mode dotspacemacs-themes (brin solarized-dark solarized-light leuven) dotspacemacs-colorize-cursor-according-to-state dotspacemacs-default-font ("Source Code Pro" :size 14 :weight normal :width normal :powerline-scale 1.1) dotspacemacs-leader-key "SPC" dotspacemacs-emacs-leader-key "M-m" dotspacemacs-major-mode-leader-key "," dotspacemacs-major-mode-emacs-leader-key "C-M-m" dotspacemacs-emacs-command-key ":" dotspacemacs-distinguish-gui-tab dotspacemacs-remap-Y-to-y$ dotspacemacs-ex-substitute-global dotspacemacs-default-layout-name "Default" dotspacemacs-display-default-layout dotspacemacs-auto-resume-layouts dotspacemacs-large-file-size 1 dotspacemacs-auto-save-file-location cache dotspacemacs-max-rollback-slots dotspacemacs-helm-resize dotspacemacs-helm-no-header dotspacemacs-helm-position bottom dotspacemacs-enable-paste-transient-state dotspacemacs-which-key-delay 0.4 dotspacemacs-which-key-position dotspacemacs-loading-progress-bar dotspacemacs-fullscreen-at-startup dotspacemacs-fullscreen-use-non-native dotspacemacs-maximized-at-startup dotspacemacs-active-transparency 90 dotspacemacs-inactive-transparency dotspacemacs-show-transient-state-title dotspacemacs-show-transient-state-color-guide dotspacemacs-mode-line-unicode-symbols dotspacemacs-smooth-scrolling dotspacemacs-line-numbers dotspacemacs-smartparens-strict-mode dotspacemacs-smart-closing-parenthesis dotspacemacs-highlight-delimiters dotspacemacs-persistent-server dotspacemacs-search-tools ("ag" "pt" "ack" "grep") dotspacemacs-default-package-repository dotspacemacs-whitespace-cleanup changed] 3 (#$ . 2584)])
#@230 Initialization function for user code.
It is called immediately after `dotspacemacs/init'. You are free to put almost
any user code here. The exception is org related code, which should be placed
in `dotspacemacs/user-config'.
(defalias 'dotspacemacs/user-init #[nil "\303\304\305\211\207" [tramp-ssh-controlmaster-options socks-server evil-shift-round "-o ControlMaster=auto -o ControlPath='tramp.%%C' -o ControlPersist=no" ("Default server" "127.0.0.1" 1080 5) nil] 2 (#$ . 5683)])
#@122 Configuration function.
This function is called at the very end of Spacemacs initialization after
layers configuration.
(defalias 'dotspacemacs/user-config #[nil "\306\307!\210\310\311!\210\312\313\314\315\"\210\316\317\320\"\210\316\317\321\"\210\322\323\324\325\326!\210\327\326!\210\330\326!\210\331\332\312\"\210\312\331\333\324\"\210\312\211@\312A\334\335\336\"\210\334\335\337\"\210\316\340\341\"\210\342B\343B\344\345\346\"\210\344\345\347\"\210\316\317\350\"\210\326C\351\326!\210\326D\324\211EF\352\353\354\324#\210\355\356\357\"\210\360G\361\362\363\"\210\361\364\365\"\210\361\366\367\"\210\361\370\371\"\210\361\372\373\"\210\316\374\375\"\210\344\345\347\"\210\376H\377\201Q !\210\316\201R \201S \"\210\326\211IJ\331\201T \201U \"\210\201V K\201W \201X \201Y \201Z #\210\316\201[ \201\\ \"\210\316\201R \201] \"\210\201^ \201_ !\203\201` \203L\203\201a \201b \201c \201d \201e $\210\331\201f \201g \"\210\361\201h \201i \"\210\352\201h \201j \322#\210\201h M\201k \201l \201m \201n \201o \201p \201q \201r \201s \201t &\210\201h N\201u \201v #\210\355\201w \201x \"\210\355\201y \201z \"\210\316\201{ \201| \"\210\316\201} \201| \"\210\201~ \201[ \201 \"\210\355\201\200 \201\201 \"\210\201\202 \201\203 O\"O\316\201} \201\204 \201\205 #\210\361\201\206 \201\207 \"\210\316\201\210 \201\206 \"\210\201\211 \210\316\201\212 \201\213 \"\210\316\201\214 \201\215 \"\210\316\201\216 \201\217 \"\210\201\220 \201\221 \201\222 \"\210\201\220 \201\223 \201\224 \"\210\201\225 \201\226 !\203!\361\201\227 \201\230 \"\210\316\201\231 \201\227 \326#\210\316\201\231 \201\232 \326#\210\201\233 \201\234 \201\235 \201\236 \324$\210\201\237 \201\234 \324\"\210\201\220 \201\240 \201\241 \"\210\201\220 \201\242 \201\243 \"\210\316\201\244 \201\245 \"\210\361\201\246 \201\247 \"\210\316\201\250 \201\246 \"\210\201\251 \201\252 \201\253 \"\210\201\254 \324!\210\201\255 P\235\203\212P\210\202\222\201\255 PBP\201\256 P\235\203\241P\210\202\251\201\256 PBP\201\257 P\235\203\270P\210\202\300\201\257 PBP\201\260 P\235\203\317P\210\202\327\201\260 PBP\201\261 P\235\203\346P\210\202\356\201\261 PBP\201\262 \201\263 !\210\201\264 \201\265 \201\266 \201\267 #\207" [default-tab-width scroll-step scroll-conservatively auto-window-vscroll javascript-indent-level web-mode-markup-indent-offset set-background-color "#334452" linum-relative-global-mode -1 2 modify-syntax-entry 95 "w" add-hook react-mode-hook #[nil "\300\301\302\"\207" [modify-syntax-entry 95 "w"] 3] #[nil "\300\301\302\303\304$\207" [add-hook write-contents-functions #[nil "\212\300 )\207" [delete-trailing-whitespace] 1] nil t] 5] 1 10000 nil global-hl-line-mode t global-linum-mode column-number-mode set-default js2-basic-offset indent-tabs-mode add-to-list auto-mode-alist ("\\.js\\'" . web-mode) ("\\.jsx\\'" . web-mode) web-mode-hook #[nil "\301\232\203\n \302\303!\207\304\305\"\207" [web-mode-content-type "javascript" web-mode-set-content-type "jsx" message "now set to: %s"] 3] (("jsx" . "\\.js[x]?\\'")) ("\\.js\\'" . react-mode) flycheck-add-mode javascript-eslint web-mode react-mode smartparens-mode global-company-mode put dired-find-alternate-file disabled eval-after-load dired #[nil "\301\302\303#\207" [dired-mode-map define-key "" dired-find-alternate-file] 4] "~/blog" defalias blog-deploy #[nil "\301\302\303\"!\207" [hexo-dir async-shell-command format "cd %s ;git add . ;git commit -am \"update\" ; npm run deploy"] 4 "git add . & git commit & git push & hexo d -g" nil] blog-list #[nil "\301\302\303\"!\207" [hexo-dir ido-find-file-in-dir format "%s/source/_posts"] 4 "use dired open hexo source dir" nil] blog-new #[(post-name) "\302\303\304 #!\210\303\305 \306\307!#c\207" [hexo-dir post-name find-file format "%s/source/_posts/%s.org" "#+TITLE: %s\n#+DATE: <%s>\n#+TAGS: 默认标签\n#+CATEGORIES: 默认分类\n\n\n注意排版哈注意排版哈注意排版哈注意排版哈注意排版哈注意排版哈注意排版哈注意排版哈注意排版|\n" format-time-string "%Y-%m-%d %H:%M:%S"] 5 "create a hexo org post" "sInput post name:"] insert-org-or-md-img-link #[(prefix imagename) "\302\303 !\304\232\203 \305\306 $c\210\305\307\310 \311\312!\313\314R$c\207" [imagename prefix file-name-extension buffer-file-name "md" format "[[%s][%s%s]]" "{%s fi %s%s}" "%" format-time-string "%Y.%m.%d.%H.%M" "." " %"] 8] capture-screenshot #[(basename) "\302\232\203\n \303\304!\305\306 !\307\306 !\310R\311\312\313\211\211\314\315\303\316!\317\320\260&\210\321\322\320P\"\210\323c\207" [basename fullpath "" format-time-string "%Y%m%d_%H%M%S" file-name-directory buffer-file-name file-name-base "_" call-process "screencapture" nil "-s" "/Users/xieyiming/blog/source/images/" "%Y.%m.%d.%H.%M" "." ".png" insert-org-or-md-img-link "/images/" "\n"] 11 "Take a screenshot into a time stamped unique-named file in the\n same directory as the org-buffer/markdown-buffer and insert a link to this file." "sScreenshot name: "] after-init-hook global-flycheck-mode (mode-enabled save) set-language-environment web-mode-css-indent-offset web-mode-code-indent-offset web-mode-content-types-alist js2-bounce-indent-p backup-inhibited auto-save-default make-backup-files hexo-dir flycheck-check-syntax-automatically tab-always-indent ranger-cleanup-eagerly helm-input-idle-delay window-system evil-normal-state-map company-active-map mode-line-misc-info spacemacs--gist-list-mode-transient-state-props "UTF-8" prog-mode-hook yas-minor-mode cursor-type bar 0.2 custom-declare-face paren-face ((((class color) (background dark)) (:foreground "dimgrey")) (((class color) (background light)) (:foreground "grey80"))) "Face used to dim parentheses." emacs-lisp-mode-hook #[nil "\300\301\302\"\207" [font-lock-add-keywords nil (("(\\|)" quote paren-face))] 3] highlight-numbers-mode configuration-layer/layer-usedp chinese spacemacs/system-is-mac spacemacs//set-monospaced-font "Source Code Pro" "Hiragino Sans GB" 14 16 powerline-default-separator arrow bb/define-key #[(keymap &rest bindings) "\205 \302 \211A\242\211A\242#\210\202 \207" [bindings keymap define-key] 5] lisp-indent-function "+" spacemacs/evil-numbers-increase "_" spacemacs/evil-numbers-decrease "\\" evil-repeat-find-char-reverse "[s" #[(n) "\303 \nW\203 \304c\210 T\211\202 *\305\207" [n c --dotimes-limit-- 0 " " nil] 3 nil "p"] "]s" #[(n) "\303u\210\304 \nW\203 \305c\210 T\211\202 *T\206 \306[u\207" [n c --dotimes-limit-- nil 0 " " 1] 3 nil "p"] "" evil-delete-backward-word helm #[nil "\301\302\303#\207" [helm-map define-key "" evil-delete-backward-word] 4] helm-swoop #[nil "\301\302\303#\207" [helm-swoop-map define-key "" evil-delete-backward-word] 4] text-mode-hook auto-fill-mode org-mode-hook remove-hook auto-compile-mode helm-files #[nil "\301\302\303#\207" [helm-find-files-map define-key [8388707] helm-ff-run-copy-file] 4] assq-delete-all which-func-mode #[nil "\300 \207" [spacemacs/toggle-line-numbers-off] 1] append spacemacs/check-large-file #[nil "\300 \301V\205 \302 \210\303\304!\207" [buffer-size 100000 fundamental-mode hl-line-mode -1] 2] find-file-hook spacemacs/toggle-automatic-symbol-highlight-on python-mode-hook #[nil "\300\301\302\"\207" [modify-syntax-entry 95 "w"] 3] ruby-mode-hook #[nil "\300\301\302\"\207" [modify-syntax-entry 95 "w"] 3] js2-mode-hook #[nil "\300\301\302\"\207" [modify-syntax-entry 95 "w"] 3] spacemacs/set-leader-keys "rh" helm-resume "ri" ivy-resume configuration-layer/package-usedp company spacemacs//init-company-\(quote\ text-mode\) #[nil "\203 \302\303 \"\304\305!\306L\210\304\307! L\207" [auto-completion-enable-snippets-in-popup company-backends-\(quote\ text-mode\) mapcar spacemacs//show-snippets-in-company make-variable-buffer-local auto-completion-front-end company company-backends] 3 "Initialize company for (quote text-mode)"] \(quote\ text-mode\)-hook company-mode ad-add-advice find-file (make-directory-maybe nil t (advice lambda (filename &optional wildcards) "Create parent directory if not exists while visiting file." (unless (file-exists-p filename) (let ((dir (file-name-directory filename))) (unless (file-exists-p dir) (make-directory dir t)))))) before ad-activate "sj" helm-semantic-or-imenu "sS" spacemacs/helm-swoop-region-or-symbol minibuffer-inactive-mode-hook (lambda nil (set (make-local-variable 'semantic-mode) nil)) zilongshanren/stop-using-minibuffer #[nil "\300 \301Y\205 \302 \205 \303 \207" [recursion-depth 1 active-minibuffer-window abort-recursive-edit] 2 "kill the minibuffer"] mouse-leave-buffer-hook spacemacs/declare-prefix "ot" "Toggle" (lambda (#1=#:def-tmp-var) (defvar spacemacs--gist-list-mode-transient-state-props #1# "Association list containing a copy of some properties of the transient state gist-list-mode. Those properties are used in macro `spacemacs|transient-state-format-hint'.")) (hint nil) (columns nil) (foreign-keys nil) (entry-sexp nil) (exit-sexp nil) spacemacs/defer-until-after-user-config (lambda nil (eval (append '(defhydra spacemacs/gist-list-mode-transient-state (nil nil :hint nil :columns nil :foreign-keys nil :body-pre nil :before-exit nil) "\n[_k_] kill current gist\n[_e_] edit gist title\n[_+_] add a file to current gist\n[_-_] delete a file from the current gist\n[_y_] print current gist url\n[_b_] browse current gist in browser\n[_*_] star current gist\n[_\\^_] unstar current gist\n[_f_] fork current gist\n") (spacemacs//transient-state-adjust-bindings '(("k" gist-kill-current "delete current gist") ("e" gist-edit-current-description "edit current gist title") ("+" gist-add-buffer "add a file to current gist ") ("-" gist-remove-file "add a file to current gist ") ("y" gist-print-current-url "print current gist url") ("b" gist-browse-current-url "browse current gist in browser") ("*" gist-star "star current gist") ("^" gist-unstar "unstar current gist") ("f" gist-fork "fork current gist") ("q" nil "quit" :exit t) ("<escape>" nil nil :exit t)) 'spacemacs-gist-list-mode-transient-state-remove-bindings 'spacemacs-gist-list-mode-transient-state-add-bindings))) (when #2="Gist-mode Transient State" (let ((guide (concat "[" (propertize "KEY" 'face 'hydra-face-blue) "] exits state [" (if 'nil (propertize "KEY" 'face 'hydra-face-pink) (propertize "KEY" 'face 'hydra-face-red)) "] will not exit"))) (add-face-text-property 0 (length guide) 'italic t guide) (setq spacemacs/gist-list-mode-transient-state/hint (list 'concat (when dotspacemacs-show-transient-state-title (concat (propertize #2# 'face 'spacemacs-transient-state-title-face) (if nil " " "\n"))) spacemacs/gist-list-mode-transient-state/hint 'nil (when dotspacemacs-show-transient-state-color-guide (concat "\n" guide))))))) spacemacs/set-leader-keys-for-major-mode gist-list-mode "." spacemacs/gist-list-mode-transient-state/body] 13 (#$ . 6179)])
(byte-code "\302\303\"\304 \305\306#\207" [dotspacemacs-directory custom-file expand-file-name "custom.el" load no-error no-message] 4)