Last active
August 24, 2017 06:39
-
-
Save leavesofgrass/301bbd7746465c5100df to your computer and use it in GitHub Desktop.
my emacs init file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; hide pesky warnings (the lazy way of supressing the pop-up debugger on init ) | |
;; (setq warning-minimum-level :emergency) | |
;; the palette... | |
(deftheme wizard-flat "A flat, dark theme that plays nice with ample.") | |
(let ((wizard/green "#a9df90") | |
(wizard/dark-green "#596f50") | |
(wizard/blue "#91a0b3") | |
(wizard/blue-bg "#002843") | |
(wizard/light-blue "#9fbfdf") | |
(wizard/lighter-blue "#afcfef") | |
(wizard/orange "#cF9570") | |
(wizard/tan "#ddbc91") | |
(wizard/dark-tan "#7c7565") | |
(wizard/jade "#6B9F7F") | |
(wizard/bright-jade "#7F9F6F") | |
(wizard/purple "#ab85a3") | |
(wizard/gray "#857575") | |
(wizard/dark-gray "#706565") | |
(wizard/darker-gray "#504545") | |
(wizard/darkest-gray "#302525") | |
(wizard/red "#ad8572") | |
(wizard/dark-red "#8d6552") | |
(wizard/cursor "thistle4") | |
(wizard/fringe "black") | |
(wizard/region "#302525") | |
(wizard/rb0 "#b1b0e3") | |
(wizard/rb1 "#a58585") | |
(wizard/rb2 "#9190a3") | |
(wizard/rb3 "#b59585") | |
(wizard/rb4 "#7180a3") | |
(wizard/rb5 "#957565") | |
(wizard/bg "black") | |
(wizard/bg2 "thistle4") | |
(wizard/fg "#bdbdb3")) | |
;; Set faces | |
(custom-theme-set-faces `wizard-flat ;; you must use the same theme name here... | |
`(default ((t | |
(:foreground ,wizard/fg | |
:background ,wizard/bg)))) | |
`(cursor ((t | |
(:foreground "#6B9F7F" | |
:background ,wizard/bg2)))) | |
`(fringe ((t | |
(:background ,wizard/fringe)))) | |
`(link ((t | |
(:foreground ,wizard/lighter-blue | |
:underline t)))) | |
`(region ((t | |
(:background ,wizard/region)))) | |
;; standard font lock | |
`(font-lock-builtin-face ((t | |
(:foreground "lightblue")))) | |
`(font-lock-comment-face ((t | |
(:foreground "slategrey")))) | |
`(font-lock-comment-delimiter-face ((t | |
(:foreground "slategrey")))) | |
`(font-lock-function-name-face ((t | |
(:foreground ,wizard/green)))) | |
`(font-lock-keyword-face ((t | |
(:foreground ,wizard/blue)))) | |
`(font-lock-string-face ((t | |
(:foreground ,wizard/bg2)))) | |
`(font-lock-preprocessor-face ((t | |
(:foreground ,wizard/orange)))) | |
`(font-lock-type-face ((t | |
(:foreground "violetred4")))) | |
`(font-lock-constant-face ((t | |
(:foreground ,wizard/purple)))) | |
`(font-lock-warning-face ((t | |
(:foreground "red" | |
:bold t)))) | |
`(font-lock-variable-name-face ((t | |
(:foreground ,wizard/jade)))) | |
`(font-lock-doc-face ((t | |
(:foreground "goldenrod")))) | |
;; mode line & powerline | |
`(powerline-active ((t | |
(:foreground "black")))) | |
`(mode-line-inactive ((t | |
(:background "black" | |
:foreground ,wizard/jade)))) | |
`(mode-line ((t | |
(:background "grey8" | |
:foreground ,wizard/jade)))) | |
`(linum ((t | |
(:background nil | |
:foreground "#6B9F7F")))) | |
`(popup-tip-face ((t | |
(:background ,wizard/fg | |
:foreground ,wizard/bg)))) | |
`(header-line ((t | |
(:background ,wizard/fg | |
:foreground ,wizard/bg)))) | |
`(button ((t | |
(:foreground ,wizard/lighter-blue | |
:background nil | |
:underline t)))) | |
;; search | |
`(isearch ((t | |
(:background ,wizard/blue | |
:foreground ,wizard/bg)))) | |
`(lazy-highlight ((t | |
(:background ,wizard/bg | |
:foreground ,wizard/purple | |
:underline t)))) | |
;; evil-search-highlight-persist | |
`(evil-search-highlight-persist-highlight-face ((t | |
(:background ,wizard/blue | |
:foreground | |
,wizard/bg)))) | |
;; ace-jump | |
`(ace-jump-face-background ((t | |
(:inherit font-lock-comment-face)))) | |
`(ace-jump-face-foreground ((t | |
(:foreground ,wizard/orange)))) | |
`(avy-background-face ((t | |
(:foreground ,wizard/dark-gray | |
:background nil)))) | |
`(avy-lead-face ((t | |
(:foreground "cornsilk" | |
:background "teal")))) | |
`(avy-lead-face-0 ((t | |
(:foreground "cornsilk" | |
:background "slategray")))) | |
`(avy-lead-face-1 ((t | |
(:foreground "cornsilk" | |
:background "orange")))) | |
`(vertical-border ((t | |
(:background ,"gray15" | |
:foreground ,wizard/darkest-gray)))) | |
`(hl-line ((t | |
(:background "#1f1f1f")))) | |
`(highlight-indentation-face ((t | |
(:background ,wizard/darkest-gray)))) | |
;; mini buff | |
`(minibuffer-prompt ((t | |
(:foreground ,wizard/bright-jade | |
:bold t | |
:background nil)))) | |
`(compilation-error ((t | |
(:foreground ,wizard/red | |
:bold t)))) | |
`(compilation-warning ((t | |
(:foreground ,wizard/orange | |
:bold t)))) | |
`(compilation-info ((t | |
(:foreground ,wizard/green | |
:bold t)))) | |
;; eshell | |
`(eshell-prompt ((t | |
(:foreground ,wizard/purple)))) | |
`(eshell-ls-directory ((t | |
(:foreground ,wizard/blue)))) | |
`(eshell-ls-product ((t | |
(:foreground ,wizard/orange)))) | |
`(eshell-ls-backup ((t | |
(:foreground ,wizard/darker-gray)))) | |
`(eshell-ls-executable ((t | |
(:foreground ,wizard/green)))) | |
;; shell | |
`(comint-highlight-prompt ((t | |
(:foreground ,wizard/green)))) | |
;; erc | |
`(erc-nick-default-face ((t | |
(:foreground ,wizard/blue)))) | |
`(erc-my-nick-face ((t | |
(:foreground ,wizard/jade)))) | |
`(erc-current-nick-face ((t | |
(:foreground ,wizard/light-blue)))) | |
`(erc-notice-face ((t | |
(:foreground ,wizard/green)))) | |
`(erc-input-face ((t | |
(:foreground "white")))) | |
`(erc-timestamp-face ((t | |
(:foreground ,"gray15")))) | |
`(erc-prompt-face ((t | |
(:foreground "#191919" | |
:background ,wizard/purple)))) | |
;;undo-tree | |
`(undo-tree-visualizer-active-branch-face ((t | |
(:inherit default)))) | |
`(undo-tree-visualizer-default-face ((t | |
(:inherit font-lock-comment-face)))) | |
`(undo-tree-visualizer-register-face ((t | |
(:foreground ,wizard/jade | |
:background nil)))) | |
`(undo-tree-visualizer-current-face ((t | |
(:foreground ,wizard/red | |
:background nil)))) | |
`(undo-tree-visualizer-unmodified-face ((t | |
(:foreground ,wizard/purple | |
:background nil)))) | |
;;show paren | |
`(show-paren-match ((t | |
(:foreground nil | |
:background ,wizard/dark-gray)))) | |
`(show-paren-mismatch ((t | |
(:inherit error)))) | |
;; error | |
`(error | |
((t | |
(:foreground "red")))) | |
;; ido | |
`(ido-only-match ((t | |
(:foreground ,wizard/green)))) | |
`(ido-first-match ((t | |
(:foreground ,wizard/blue)))) | |
`(ido-incomplete-regexp ((t | |
(:foreground ,wizard/red)))) | |
`(ido-subdir ((t | |
(:foreground ,wizard/jade)))) | |
;; flx-ido | |
`(flx-highlight-face ((t | |
(:foreground ,wizard/lighter-blue | |
:background nil | |
:underline nil | |
:bold t)))) | |
;;js2 | |
`(js2-external-variable ((t | |
(:foreground ,wizard/orange | |
:background nil)))) | |
`(js2-function-param ((t | |
(:foreground ,wizard/dark-green | |
:background nil)))) | |
`(js2-instance-member ((t | |
(:foreground ,wizard/purple | |
:background nil)))) | |
`(js2-jsdoc-html-tag-delimiter ((t | |
(:foreground ,wizard/dark-gray | |
:background nil)))) | |
`(js2-jsdoc-html-tag-name ((t | |
(:foreground ,wizard/darkest-gray | |
:background nil)))) | |
`(js2-jsdoc-tag ((t | |
(:foreground ,wizard/dark-red | |
:background nil)))) | |
`(js2-jsdoc-type ((t | |
(:foreground ,wizard/red | |
:background nil)))) | |
`(js2-jsdoc-value ((t | |
(:foreground ,wizard/tan | |
:background nil)))) | |
`(js2-private-function-call ((t | |
(:foreground ,wizard/dark-green | |
:background nil)))) | |
`(js2-private-member ((t | |
(:foreground ,wizard/dark-tan | |
:background nil)))) | |
`(js2-warning ((t | |
(:foreground nil | |
:background nil | |
:underline ,wizard/orange)))) | |
;;web-mode | |
`(web-mode-block-attr-name-face ((t | |
(:foreground "#8fbc8f" | |
:background nil)))) | |
`(web-mode-block-attr-value-face ((t | |
(:inherit font-lock-string-face)))) | |
`(web-mode-block-comment-face ((t | |
(:inherit font-lock-comment-face)))) | |
`(web-mode-block-control-face ((t | |
(:inherit font-lock-preprocessor-face)))) | |
`(web-mode-block-delimiter-face ((t | |
(:inherit font-lock-preprocessor-face)))) | |
`(web-mode-block-face ((t | |
(:foreground nil | |
:background "LightYellow1")))) | |
`(web-mode-block-string-face ((t | |
(:inherit font-lock-string-face)))) | |
`(web-mode-builtin-face ((t | |
(:inherit font-lock-builtin-face)))) | |
`(web-mode-comment-face ((t | |
(:inherit font-lock-comment-face)))) | |
`(web-mode-comment-keyword-face ((t | |
(:foreground nil | |
:background nil | |
:bold t)))) | |
`(web-mode-constant-face ((t | |
(:foreground ,wizard/purple | |
:background nil)))) | |
`(web-mode-css-at-rule-face ((t | |
(:foreground ,wizard/purple | |
:background nil)))) | |
`(web-mode-css-color-face ((t | |
(:foreground ,wizard/light-blue | |
:background nil)))) | |
`(web-mode-css-comment-face ((t | |
(:inherit font-lock-comment-face)))) | |
`(web-mode-css-function-face ((t | |
(:foreground ,wizard/light-blue | |
:background nil)))) | |
`(web-mode-css-priority-face ((t | |
(:foreground ,wizard/light-blue | |
:background nil)))) | |
`(web-mode-css-property-name-face ((t | |
(:inherit | |
font-lock-variable-name-face)))) | |
`(web-mode-css-pseudo-class-face ((t | |
(:foreground ,wizard/light-blue | |
:background nil)))) | |
`(web-mode-css-selector-face ((t | |
(:foreground ,wizard/blue | |
:background nil)))) | |
`(web-mode-css-string-face ((t | |
(:foreground ,wizard/tan | |
:background nil)))) | |
`(web-mode-current-element-highlight-face ((t | |
(:foreground nil | |
:background | |
"#000000")))) | |
`(web-mode-doctype-face ((t | |
(:inherit font-lock-doc-face)))) | |
`(web-mode-error-face ((t | |
(:inherit error)))) | |
`(web-mode-folded-face ((t | |
(:foreground nil | |
:background nil | |
:underline t)))) | |
`(web-mode-function-call-face ((t | |
(:inherit font-lock-function-name-face)))) | |
`(web-mode-function-name-face ((t | |
(:inherit font-lock-function-name-face)))) | |
`(web-mode-html-attr-custom-face ((t | |
(:inherit font-lock-comment-face)))) | |
`(web-mode-html-attr-equal-face ((t | |
(:inherit font-lock-comment-face)))) | |
`(web-mode-html-attr-name-face ((t | |
(:inherit font-lock-comment-face)))) | |
`(web-mode-html-attr-value-face ((t | |
(:inherit font-lock-string-face)))) | |
`(web-mode-html-tag-bracket-face ((t | |
(:inherit font-lock-comment-face)))) | |
`(web-mode-html-tag-custom-face ((t | |
(:inherit font-lock-comment-face)))) | |
`(web-mode-html-tag-face ((t | |
(:inherit font-lock-comment-face)))) | |
`(web-mode-javascript-comment-face ((t | |
(:inherit font-lock-comment-face)))) | |
`(web-mode-javascript-string-face ((t | |
(:inherit font-lock-string-face)))) | |
`(web-mode-json-comment-face ((t | |
(:inherit font-lock-comment-face)))) | |
`(web-mode-json-context-face ((t | |
(:foreground "orchid3" | |
:background nil)))) | |
`(web-mode-json-key-face ((t | |
(:foreground "plum" | |
:background nil)))) | |
`(web-mode-json-string-face ((t | |
(:inherit font-lock-string-face)))) | |
`(web-mode-keyword-face ((t | |
(:inherit font-lock-keyword-face)))) | |
`(web-mode-param-name-face ((t | |
(:foreground "Snow3" | |
:background nil)))) | |
`(web-mode-part-comment-face ((t | |
(:inherit font-lock-comment-face)))) | |
`(web-mode-part-face ((t | |
(:foreground nil | |
:background "LightYellow1")))) | |
`(web-mode-part-string-face ((t | |
(:inherit font-lock-string-face)))) | |
`(web-mode-preprocessor-face ((t | |
(:inherit font-lock-preprocessor-face)))) | |
`(web-mode-string-face ((t | |
(:inherit font-lock-string-face)))) | |
`(web-mode-symbol-face ((t | |
(:foreground "gold" | |
:background nil)))) | |
`(web-mode-type-face ((t | |
(:inherit font-lock-type-face)))) | |
`(web-mode-variable-name-face ((t | |
(:inherit font-lock-variable-name-face)))) | |
`(web-mode-warning-face ((t | |
(:inherit font-lock-warning-face)))) | |
`(web-mode-whitespace-face ((t | |
(:foreground nil | |
:background "DarkOrchid4")))) | |
;; helm | |
`(helm-M-x-key ((t | |
(:foreground ,wizard/orange | |
:underline nil)))) | |
`(helm-action ((t ()))) | |
`(helm-bookmark-directory ((t ()))) | |
`(helm-bookmark-file ((t ()))) | |
`(helm-bookmark-gnus ((t ()))) | |
`(helm-bookmark-w3m ((t ()))) | |
`(helm-candidate-number ((t | |
(:foreground ,wizard/green | |
:background ,"gray15"))) | |
`(helm-ff-directory ((t | |
(:foreground ,wizard/blue)))) | |
`(helm-ff-executable ((t | |
(:foreground | |
,wizard/green)))) | |
`(helm-ff-file ((t | |
(:inherit default)))) | |
`(helm-ff-prefix ((t | |
(:foreground ,wizard/red)))) | |
`(helm-grep-file ((t | |
(:foreground ,wizard/blue)))) | |
;;`(helm-grep-finish ((t ()))) | |
`(helm-grep-lineno ((t | |
(:foreground | |
,wizard/purple)))) | |
`(helm-grep-match ((t | |
(:foreground ,wizard/fg | |
:background | |
,wizard/region)))) | |
;;`(helm-grep-running ((t ()))) | |
`(helm-header ((t | |
(:foreground ,wizard/bg | |
:background | |
,wizard/fg)))) | |
`(helm-lisp-show-completion ((t ()))) | |
`(helm-match ((t | |
(:foreground ,wizard/blue | |
:background | |
,wizard/darkest-gray)))) | |
`(helm-selection ((t | |
(:foreground ,wizard/jade | |
:background | |
,wizard/region | |
:bold t)))) | |
`(helm-source-header ((t | |
(:foreground | |
,wizard/darkest-gray | |
:background | |
,wizard/blue)))) | |
;; jabber | |
`(jabber-activity-face ((t | |
(:inherit | |
font-lock-variable-name-face | |
:bold t)))) | |
`(jabber-activity-personal-face ((t | |
(:inherit | |
font-lock-function-name-face | |
:bold t)))) | |
`(jabber-chat-error ((t | |
(:inherit error | |
:bold t)))) | |
`(jabber-chat-prompt-foreign ((t | |
(:foreground | |
,wizard/green | |
:background nil | |
:underline nil | |
:bold t)))) | |
`(jabber-chat-prompt-local ((t | |
(:foreground | |
,wizard/light-blue | |
:background nil | |
:underline nil | |
:bold t)))) | |
`(jabber-chat-prompt-system ((t | |
(:foreground | |
,wizard/jade | |
:background nil | |
:underline nil | |
:bold t)))) | |
`(jabber-chat-text-foreign ((t | |
(:inherit default | |
:background | |
nil)))) | |
`(jabber-chat-text-local ((t | |
(:inherit default | |
:bold t)))) | |
`(jabber-rare-time-face ((t | |
(:foreground | |
,wizard/purple | |
:background nil | |
:underline t)))) | |
`(jabber-roster-user-away ((t | |
(:inherit | |
font-lock-string-face)))) | |
`(jabber-roster-user-chatty ((t | |
(:foreground | |
,wizard/orange | |
:background nil | |
:bold t)))) | |
`(jabber-roster-user-error ((t | |
(:inherit error)))) | |
`(jabber-roster-user-offline ((t | |
(:inherit | |
font-lock-comment-face)))) | |
`(jabber-roster-user-online ((t | |
(:inherit | |
font-lock-keyword-face | |
:bold t)))) | |
`(jabber-roster-user-xa ((t | |
(:inherit | |
font-lock-doc-face)))) | |
;; rainbow delim | |
`(rainbow-delimiters-depth-1-face ((t | |
(:foreground | |
,wizard/rb0 | |
:background | |
nil)))) | |
`(rainbow-delimiters-depth-2-face ((t | |
(:foreground | |
,wizard/rb1 | |
:background | |
nil)))) | |
`(rainbow-delimiters-depth-3-face ((t | |
(:foreground | |
,wizard/rb2 | |
:background | |
nil)))) | |
`(rainbow-delimiters-depth-4-face ((t | |
(:foreground | |
,wizard/rb3 | |
:background | |
nil)))) | |
`(rainbow-delimiters-depth-5-face ((t | |
(:foreground | |
,wizard/rb4 | |
:background | |
nil)))) | |
`(rainbow-delimiters-depth-6-face ((t | |
(:foreground | |
,wizard/rb5 | |
:background | |
nil)))) | |
`(rainbow-delimiters-depth-7-face ((t | |
(:foreground | |
,wizard/rb0 | |
:background | |
nil)))) | |
`(rainbow-delimiters-depth-8-face ((t | |
(:foreground | |
,wizard/rb1 | |
:background | |
nil)))) | |
`(rainbow-delimiters-depth-9-face ((t | |
(:foreground | |
,wizard/rb2 | |
:background | |
nil)))) | |
`(rainbow-delimiters-unmatched-face ((t | |
(:inherit | |
error)))) | |
;; auto complete | |
`(ac-candidate-face ((t | |
(:foreground "black" | |
:background | |
,wizard/fg)))) | |
`(ac-selection-face ((t | |
(:foreground ,wizard/fg | |
:background | |
,wizard/blue)))) | |
`(ac-candidate-mouse-face ((t | |
(:inherit | |
ac-selection-face)))) | |
`(ac-clang-candidate-face ((t | |
(:inherit | |
ac-candidate-face)))) | |
`(ac-clang-selection-face ((t | |
(:inherit | |
ac-selection-face)))) | |
`(ac-completion-face ((t | |
(:inherit | |
font-lock-comment-face | |
:underline t)))) | |
`(ac-gtags-candidate-face ((t | |
(:inherit | |
ac-candidate-face)))) | |
`(ac-gtags-selection-face ((t | |
(:inherit | |
ac-selection-face)))) | |
`(ac-slime-menu-face ((t | |
(:inherit | |
ac-candidate-face)))) | |
`(ac-slime-selection-face ((t | |
(:inherit | |
ac-selection-face)))) | |
`(ac-yasnippet-candidate-face ((t | |
(:inherit | |
ac-candidate-face)))) | |
`(ac-yasnippet-selection-face ((t | |
(:inherit | |
ac-selection-face)))) | |
`(company-echo ((t | |
(:foreground | |
nil | |
:background | |
nil)))) | |
`(company-echo-common ((t | |
(:foreground | |
nil | |
:background | |
"firebrick4")))) | |
`(company-preview ((t | |
(:foreground | |
"wheat" | |
:background | |
"blue4")))) | |
`(company-preview-common ((t | |
(:inherit | |
font-lock-comment-face)))) | |
`(company-preview-search ((t | |
(:foreground | |
"wheat" | |
:background | |
"blue1")))) | |
`(company-template-field ((t | |
(:foreground | |
"black" | |
:background | |
"orange")))) | |
`(company-scrollbar-bg ((t | |
(:foreground | |
nil | |
:background | |
,wizard/darkest-gray)))) | |
`(company-scrollbar-fg ((t | |
(:foreground | |
nil | |
:background | |
,wizard/dark-gray)))) | |
`(company-tooltip ((t | |
(:foreground | |
,wizard/bg | |
:background | |
,wizard/fg)))) | |
`(company-tooltip-common ((t | |
(:foreground | |
,wizard/dark-red | |
:background | |
,wizard/fg)))) | |
`(company-tooltip-common-selection ((t | |
(:foreground | |
,wizard/bg | |
:background | |
,wizard/blue)))) | |
`(company-tooltip-mouse ((t | |
(:foreground | |
nil | |
:background | |
,wizard/light-blue)))) | |
`(company-tooltip-selection ((t | |
(:foreground | |
,wizard/dark-gray | |
:background | |
,wizard/blue)))) | |
;; w3m | |
`(w3m-anchor ((t | |
(:foreground "cyan" | |
:background nil)))) | |
`(w3m-arrived-anchor ((t | |
(:foreground | |
"LightSkyBlue" | |
:background nil)))) | |
`(w3m-bold ((t | |
(:foreground ,wizard/blue | |
:background nil | |
:bold t)))) | |
`(w3m-current-anchor ((t | |
(:foreground nil | |
:background | |
nil | |
:underline | |
t | |
:bold t)))) | |
`(w3m-form ((t | |
(:foreground "red" | |
:background nil | |
:underline t)))) | |
`(w3m-form-button ((t | |
(:foreground "red" | |
:background | |
nil | |
:underline t)))) | |
`(w3m-form-button-mouse ((t | |
(:foreground "red" | |
:background | |
nil | |
:underline | |
t)))) | |
`(w3m-form-button-pressed ((t | |
(:foreground "red" | |
:background | |
nil | |
:underline | |
t)))) | |
`(w3m-form-inactive ((t | |
(:foreground "grey70" | |
:background | |
nil | |
:underline t)))) | |
`(w3m-header-line-location-content ((t | |
(:foreground | |
"LightGoldenrod" | |
:background | |
"Gray20")))) | |
`(w3m-header-line-location-title ((t | |
(:foreground | |
"Cyan" | |
:background | |
"Gray20")))) | |
`(w3m-history-current-url ((t | |
(:foreground | |
"LightSkyBlue" | |
:background | |
"SkyBlue4")))) | |
`(w3m-image ((t | |
(:foreground "PaleGreen" | |
:background nil)))) | |
`(w3m-image-anchor ((t | |
(:foreground nil | |
:background | |
"dark green")))) | |
`(w3m-insert ((t | |
(:foreground "orchid" | |
:background nil)))) | |
`(w3m-italic ((t | |
(:foreground ,wizard/orange | |
:background nil | |
:underline t)))) | |
`(w3m-session-select ((t | |
(:foreground "cyan" | |
:background | |
nil)))) | |
`(w3m-session-selected ((t | |
(:foreground "cyan" | |
:background | |
nil | |
:underline | |
t | |
:bold t)))) | |
`(w3m-strike-through ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(w3m-tab-background ((t | |
(:foreground "black" | |
:background | |
"white")))) | |
`(w3m-tab-mouse ((t | |
(:foreground nil | |
:background nil)))) | |
`(w3m-tab-selected ((t | |
(:foreground "black" | |
:background | |
"cyan")))) | |
`(w3m-tab-selected-background ((t | |
(:foreground | |
"black" | |
:background | |
"white")))) | |
`(w3m-tab-selected-retrieving ((t | |
(:foreground | |
"red" | |
:background | |
"cyan")))) | |
`(w3m-tab-unselected ((t | |
(:foreground "black" | |
:background | |
"blue")))) | |
`(w3m-tab-unselected-retrieving ((t | |
(:foreground | |
"OrangeRed" | |
:background | |
"blue")))) | |
`(w3m-tab-unselected-unseen ((t | |
(:foreground | |
"gray60" | |
:background "blue")))) | |
`(w3m-underline ((t | |
(:foreground ,wizard/green | |
:background nil | |
:underline t)))) | |
;; ediff | |
`(ediff-current-diff-A((t | |
(:foreground nil | |
:background | |
,wizard/red)))) | |
`(ediff-current-diff-B((t | |
(:foreground nil | |
:background | |
,wizard/green)))) | |
`(ediff-current-diff-C((t | |
(:foreground nil | |
:background | |
,wizard/jade)))) | |
;;`(ediff-current-diff-Ancestor((t ()))) | |
`(ediff-even-diff-A ((t | |
(:foreground nil | |
:background | |
"#191925")))) | |
`(ediff-even-diff-B ((t | |
(:foreground nil | |
:background | |
"#191925")))) | |
`(ediff-even-diff-C ((t | |
(:foreground nil | |
:background | |
"#191925")))) | |
;;`(ediff-even-diff-Ancestor ((t ()))) | |
`(diff-added ((t | |
(:background nil | |
:foreground | |
,wizard/green)))) | |
`(diff-changed ((t | |
(:background nil | |
:foreground | |
,wizard/jade)))) | |
`(diff-removed ((t | |
(:background nil | |
:foreground | |
,wizard/red)))) | |
`(diff-context ((t | |
(:foreground | |
,wizard/gray | |
:background nil)))) | |
`(diff-file-header ((t | |
(:foreground | |
,wizard/bg | |
:background "grey60" | |
:bold t)))) | |
`(diff-function ((t | |
(:foreground | |
,wizard/bg | |
:background "grey50")))) | |
`(diff-header ((t | |
(:foreground | |
,wizard/bg | |
:background "grey50")))) | |
`(diff-hunk-header ((t | |
(:foreground | |
,wizard/bg | |
:background "grey50")))) | |
`(diff-index ((t | |
(:foreground | |
,wizard/bg | |
:background "grey50")))) | |
`(diff-indicator-added ((t | |
(:inherit diff-added)))) | |
`(diff-indicator-changed ((t | |
(:inherit diff-changed)))) | |
`(diff-indicator-removed ((t | |
(:inherit diff-removed)))) | |
`(diff-nonexistent ((t | |
(:foreground nil | |
:background | |
"grey70")))) | |
`(diff-refine-added ((t | |
(:foreground nil | |
:background | |
"#649694")))) | |
`(diff-refine-changed ((t | |
(:foreground nil | |
:background | |
"#8f8f40")))) | |
`(diff-refine-removed ((t | |
(:foreground nil | |
:background | |
"#694949")))) | |
`(ediff-fine-diff-A ((t | |
(:foreground ,wizard/fg | |
:background | |
"#694949")))) | |
`(ediff-fine-diff-B ((t | |
(:foreground ,wizard/fg | |
:background | |
"#496949")))) | |
`(ediff-fine-diff-C ((t | |
(:foreground ,wizard/fg | |
:background | |
"#696949")))) | |
;;`(ediff-fine-diff-Ancestor ((t ()))) | |
`(ediff-odd-diff-A ((t | |
(:foreground nil | |
:background | |
"#171723")))) | |
`(ediff-odd-diff-B ((t | |
(:foreground nil | |
:background | |
"#171723")))) | |
`(ediff-odd-diff-C ((t | |
(:foreground nil | |
:background | |
"#171723")))) | |
;;`(ediff-odd-diff-Ancestor ((t ()))) | |
;; man pages | |
`(Man-overstrike ((t | |
(:foreground ,wizard/blue)))) | |
`(Man-underline ((t | |
(:foreground ,wizard/jade)))) | |
`(slime-apropos-label ((t | |
(:foreground ,wizard/red | |
:background | |
nil)))) | |
`(slime-apropos-symbol ((t | |
(:foreground | |
,wizard/blue | |
:background nil)))) | |
`(slime-error-face ((t | |
(:foreground ,wizard/red | |
:background | |
nil | |
:underline t)))) | |
`(slime-highlight-face ((t | |
(:foreground nil | |
:background | |
,wizard/dark-green)))) | |
`(slime-inspector-action-face ((t | |
(:foreground | |
"red" | |
:background nil)))) | |
`(slime-inspector-label-face ((t | |
(:foreground | |
"#ab85a3" | |
:background nil)))) | |
`(slime-inspector-topline-face ((t | |
(:foreground | |
nil | |
:background | |
nil)))) | |
`(slime-inspector-type-face ((t | |
(:foreground | |
"#ad8572" | |
:background nil)))) | |
`(slime-inspector-value-face ((t | |
(:foreground | |
"#9fbfdf" | |
:background nil)))) | |
`(slime-note-face ((t | |
(:foreground nil | |
:background nil | |
:underline t)))) | |
`(slime-style-warning-face ((t | |
(:foreground | |
,wizard/orange | |
:background nil | |
:underline t)))) | |
`(slime-warning-face ((t | |
(:foreground nil | |
:background | |
nil | |
:underline t)))) | |
;; org | |
`(org-agenda-calendar-event ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(org-agenda-calendar-sexp ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(org-agenda-clocking ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(org-agenda-column-dateline ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(org-agenda-current-time ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(org-agenda-date ((t | |
(:foreground nil | |
:background nil)))) | |
`(org-agenda-date-today ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(org-agenda-date-weekend ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(org-agenda-diary ((t | |
(:foreground nil | |
:background nil)))) | |
`(org-agenda-dimmed-todo-face ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(org-agenda-done ((t | |
(:foreground nil | |
:background nil)))) | |
`(org-agenda-filter-category ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(org-agenda-filter-tags ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(org-agenda-restriction-lock ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(org-agenda-structure ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(org-archived ((t | |
(:foreground nil | |
:background nil)))) | |
`(org-beamer-tag ((t | |
(:foreground nil | |
:background nil)))) | |
`(org-block ((t | |
(:foreground nil | |
:background nil)))) | |
`(org-block-background ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(org-block-begin-line ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(org-done ((t | |
(:foreground ,wizard/green | |
:background nil)))) | |
`(org-todo ((t | |
(:foreground ,wizard/red | |
:background nil)))) | |
`(org-hide ((t | |
(:foreground ,wizard/bg | |
:background nil)))) | |
`(message-cited-text ((t | |
(:inherit | |
font-lock-comment-face)))) | |
`(message-header-cc ((t | |
(:foreground | |
,wizard/light-blue | |
:background nil | |
:bold t)))) | |
`(message-header-name ((t | |
(:foreground | |
,wizard/orange | |
:background nil)))) | |
`(message-header-newsgroups ((t | |
(:foreground | |
,wizard/dark-tan | |
:background nil | |
:bold t)))) | |
`(message-header-other ((t | |
(:foreground | |
,wizard/blue | |
:background nil)))) | |
`(message-header-subject ((t | |
(:foreground | |
,wizard/tan | |
:background nil)))) | |
`(message-header-to ((t | |
(:foreground ,wizard/jade | |
:background | |
nil | |
:bold t)))) | |
`(message-header-xheader ((t | |
(:foreground | |
,wizard/purple | |
:background nil)))) | |
`(message-mml ((t | |
(:foreground ,wizard/dark-tan | |
:background nil)))) | |
;; gnus | |
`(gnus-button ((t | |
(:foreground nil | |
:background nil | |
:bold t)))) | |
`(gnus-cite-1 ((t | |
(:foreground "light blue" | |
:background nil)))) | |
`(gnus-cite-10 ((t | |
(:foreground "plum1" | |
:background nil)))) | |
`(gnus-cite-11 ((t | |
(:foreground "turquoise" | |
:background nil)))) | |
`(gnus-cite-2 ((t | |
(:foreground "light cyan" | |
:background nil)))) | |
`(gnus-cite-3 ((t | |
(:foreground "light yellow" | |
:background nil)))) | |
`(gnus-cite-4 ((t | |
(:foreground "light pink" | |
:background nil)))) | |
`(gnus-cite-5 ((t | |
(:foreground "pale green" | |
:background nil)))) | |
`(gnus-cite-6 ((t | |
(:foreground "beige" | |
:background nil)))) | |
`(gnus-cite-7 ((t | |
(:foreground "orange" | |
:background nil)))) | |
`(gnus-cite-8 ((t | |
(:foreground "magenta" | |
:background nil)))) | |
`(gnus-cite-9 ((t | |
(:foreground "violet" | |
:background nil)))) | |
`(gnus-cite-attribution ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(gnus-emphasis-bold ((t | |
(:foreground nil | |
:background | |
nil | |
:bold t)))) | |
`(gnus-emphasis-bold-italic ((t | |
(:foreground nil | |
:background | |
nil | |
:bold | |
t)))) | |
`(gnus-emphasis-highlight-words ((t | |
(:foreground | |
"yellow" | |
:background | |
"black")))) | |
`(gnus-emphasis-italic ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(gnus-emphasis-strikethru ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(gnus-emphasis-underline ((t | |
(:foreground nil | |
:background | |
nil | |
:underline | |
t)))) | |
`(gnus-emphasis-underline-bold ((t | |
(:foreground | |
nil | |
:background | |
nil | |
:underline t | |
:bold t)))) | |
`(gnus-emphasis-underline-bold-italic ((t | |
(:foreground | |
nil | |
:background | |
nil | |
:underline | |
t | |
:bold t)))) | |
`(gnus-emphasis-underline-italic ((t | |
(:foreground | |
nil | |
:background | |
nil | |
:underline t)))) | |
`(gnus-group-mail-1 ((t | |
(:foreground | |
,wizard/blue | |
:background nil | |
:bold t)))) | |
`(gnus-group-mail-1-empty ((t | |
(:foreground | |
,wizard/blue | |
:background nil)))) | |
`(gnus-group-mail-2 ((t | |
(:foreground | |
,wizard/lighter-blue | |
:background nil | |
:bold t)))) | |
`(gnus-group-mail-2-empty ((t | |
(:foreground | |
,wizard/lighter-blue | |
:background nil)))) | |
`(gnus-group-mail-3 ((t | |
(:foreground | |
,wizard/light-blue | |
:background nil | |
:bold t)))) | |
`(gnus-group-mail-3-empty ((t | |
(:foreground | |
,wizard/light-blue | |
:background nil)))) | |
`(gnus-group-mail-low ((t | |
(:foreground | |
,wizard/jade | |
:background nil | |
:bold t)))) | |
`(gnus-group-mail-low-empty ((t | |
(:foreground | |
,wizard/jade | |
:background nil)))) | |
`(gnus-group-news-1 ((t | |
(:foreground | |
"PaleTurquoise" | |
:background nil | |
:bold t)))) | |
`(gnus-group-news-1-empty ((t | |
(:foreground | |
"PaleTurquoise" | |
:background nil)))) | |
`(gnus-group-news-2 ((t | |
(:foreground "turquoise" | |
:background | |
nil | |
:bold t)))) | |
`(gnus-group-news-2-empty ((t | |
(:foreground | |
"turquoise" | |
:background nil)))) | |
`(gnus-group-news-3 ((t | |
(:foreground nil | |
:background | |
nil | |
:bold t)))) | |
`(gnus-group-news-3-empty ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(gnus-group-news-4 ((t | |
(:foreground nil | |
:background | |
nil | |
:bold t)))) | |
`(gnus-group-news-4-empty ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(gnus-group-news-5 ((t | |
(:foreground nil | |
:background | |
nil | |
:bold t)))) | |
`(gnus-group-news-5-empty ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(gnus-group-news-6 ((t | |
(:foreground nil | |
:background | |
nil | |
:bold t)))) | |
`(gnus-group-news-6-empty ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(gnus-group-news-low ((t | |
(:foreground | |
"DarkTurquoise" | |
:background nil | |
:bold t)))) | |
`(gnus-group-news-low-empty ((t | |
(:foreground | |
"DarkTurquoise" | |
:background nil)))) | |
`(gnus-header-content ((t | |
(:inherit | |
message-header-other)))) | |
`(gnus-header-from ((t | |
(:inherit | |
message-header-other)))) | |
`(gnus-header-name ((t | |
(:inherit | |
message-header-name)))) | |
`(gnus-header-newsgroups ((t | |
(:inherit | |
message-header-newsgroups)))) | |
`(gnus-header-subject ((t | |
(:inherit | |
message-header-subject)))) | |
`(gnus-server-agent ((t | |
(:foreground | |
"PaleTurquoise" | |
:background nil | |
:bold t)))) | |
`(gnus-server-closed ((t | |
(:foreground | |
"LightBlue" | |
:background nil)))) | |
`(gnus-server-denied ((t | |
(:foreground "pink" | |
:background | |
nil | |
:bold t)))) | |
`(gnus-server-offline ((t | |
(:foreground "yellow" | |
:background | |
nil | |
:bold t)))) | |
`(gnus-server-opened ((t | |
(:foreground "green1" | |
:background | |
nil | |
:bold t)))) | |
`(gnus-signature ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(gnus-splash ((t | |
(:foreground "#cccccc" | |
:background nil)))) | |
`(gnus-summary-cancelled ((t | |
(:foreground | |
"yellow" | |
:background "black")))) | |
`(gnus-summary-high-ancient ((t | |
(:foreground | |
"SkyBlue" | |
:background nil | |
:bold t)))) | |
`(gnus-summary-high-read ((t | |
(:foreground | |
"PaleGreen" | |
:background nil | |
:bold t)))) | |
`(gnus-summary-high-ticked ((t | |
(:foreground | |
"pink" | |
:background nil | |
:bold t)))) | |
`(gnus-summary-high-undownloaded ((t | |
(:foreground | |
"LightGray" | |
:background | |
nil | |
:bold t)))) | |
`(gnus-summary-high-unread ((t | |
(:foreground nil | |
:background | |
nil | |
:bold | |
t)))) | |
`(gnus-summary-low-ancient ((t | |
(:foreground | |
"SkyBlue" | |
:background nil)))) | |
`(gnus-summary-low-read ((t | |
(:foreground | |
"PaleGreen" | |
:background nil)))) | |
`(gnus-summary-low-ticked ((t | |
(:foreground "pink" | |
:background | |
nil)))) | |
`(gnus-summary-low-undownloaded ((t | |
(:foreground | |
"LightGray" | |
:background | |
nil)))) | |
`(gnus-summary-low-unread ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(gnus-summary-normal-ancient ((t | |
(:inherit | |
default)))) | |
`(gnus-summary-normal-read ((t | |
(:foreground | |
,wizard/green | |
:background nil)))) | |
`(gnus-summary-normal-ticked ((t | |
(:foreground | |
,wizard/orange | |
:background nil)))) | |
`(gnus-summary-normal-undownloaded ((t | |
(:foreground | |
,wizard/dark-gray | |
:background | |
nil)))) | |
`(gnus-summary-normal-unread ((t | |
(:foreground | |
,wizard/light-blue | |
:background nil)))) | |
`(gnus-summary-selected ((t | |
(:foreground nil | |
:background | |
nil | |
:underline | |
t)))) | |
`(twittering-timeline-footer-face ((t | |
(:foreground | |
nil | |
:background | |
nil | |
:inherit | |
font-lock-function-name-face)))) | |
`(twittering-timeline-header-face ((t | |
(:foreground | |
nil | |
:background | |
nil | |
:inherit | |
font-lock-function-name-face)))) | |
`(twittering-uri-face ((t | |
(:foreground nil | |
:background | |
nil | |
:underline | |
t)))) | |
`(twittering-username-face ((t | |
(:foreground nil | |
:background | |
nil | |
:inherit | |
font-lock-keyword-face | |
:underline | |
t)))) | |
;; whitespace mode | |
`(whitespace-empty ((t | |
(:foreground ,wizard/gray | |
:background | |
"gray10")))) | |
`(whitespace-hspace ((t | |
(:foreground ,wizard/gray | |
:background | |
"grey11")))) | |
`(whitespace-indentation ((t | |
(:foreground | |
,wizard/gray | |
:background "gray12")))) | |
`(whitespace-line ((t | |
(:foreground ,wizard/purple | |
:background | |
nil)))) | |
`(whitespace-newline ((t | |
(:foreground | |
,wizard/gray | |
:background nil)))) | |
`(whitespace-space ((t | |
(:foreground ,wizard/gray | |
:background | |
nil)))) | |
`(whitespace-space-after-tab ((t | |
(:foreground | |
,wizard/gray | |
:background | |
"gray13")))) | |
`(whitespace-space-before-tab ((t | |
(:foreground | |
,wizard/gray | |
:background | |
"gray14")))) | |
`(whitespace-tab ((t | |
(:foreground ,wizard/gray | |
:background | |
"grey15")))) | |
`(whitespace-trailing ((t | |
(:foreground ,wizard/rb3 | |
:background | |
,wizard/bg | |
:bold t)))) | |
;; magit | |
;; new | |
`(magit-section-heading ((t | |
(:foreground | |
,wizard/blue, | |
:background nil)))) | |
`(magit-hash ((t | |
(:foreground | |
,wizard/purple | |
:background nil)))) | |
`(magit-branch-local ((t | |
(:foreground | |
,wizard/orange | |
:background nil)))) | |
`(magit-branch-remote ((t | |
(:foreground | |
,wizard/jade | |
:background nil)))) | |
`(magit-diff-added-highlight ((t | |
(:background | |
,wizard/region | |
:foreground | |
,wizard/green)))) | |
`(magit-diff-removed-highlight ((t | |
(:background | |
,wizard/region | |
:foreground | |
,wizard/red)))) | |
`(magit-diff-added ((t | |
(:background nil | |
:foreground | |
,wizard/green)))) | |
`(magit-diff-removed ((t | |
(:background nil | |
:foreground | |
,wizard/red)))) | |
`(magit-blame-date ((t | |
(:foreground | |
,wizard/purple | |
:background | |
"grey25")))) | |
`(magit-blame-hash ((t | |
(:foreground | |
,wizard/purple | |
:background | |
"grey25")))) | |
`(magit-blame-heading ((t | |
(:foreground | |
,wizard/blue | |
:background | |
"grey25")))) | |
`(magit-blame-name ((t | |
(:foreground | |
,wizard/green | |
:background | |
"grey25")))) | |
`(magit-blame-summary ((t | |
(:foreground | |
,wizard/blue | |
:background | |
"grey25")))) | |
;; old | |
`(magit-branch ((t | |
(:foreground ,wizard/orange | |
:background nil)))) | |
`(magit-diff-add ((t | |
(:background nil | |
:foreground | |
,wizard/green)))) | |
`(magit-diff-del ((t | |
(:background nil | |
:foreground | |
,wizard/red)))) | |
`(magit-diff-file-header ((t | |
(:foreground | |
,wizard/bg | |
:background | |
,wizard/blue | |
:bold t)))) | |
`(magit-diff-hunk-header ((t | |
(:foreground | |
,wizard/bg | |
:background | |
,wizard/blue)))) | |
`(magit-diff-merge-current ((t | |
(:foreground | |
,wizard/orange | |
:background nil)))) | |
`(magit-diff-merge-diff3-separator ((t | |
(:foreground | |
,wizard/orange | |
:background | |
nil)))) | |
`(magit-diff-merge-proposed ((t | |
(:foreground | |
,wizard/orange | |
:background nil)))) | |
`(magit-diff-merge-separator ((t | |
(:foreground | |
,wizard/orange | |
:background nil)))) | |
`(magit-diff-none ((t | |
(:foreground ,wizard/fg | |
:background | |
,wizard/region)))) | |
`(magit-header ((t | |
(:foreground ,wizard/blue | |
:background nil)))) | |
`(magit-item-highlight ((t | |
(:foreground nil | |
:background | |
,wizard/region)))) | |
`(magit-key-mode-button-face ((t | |
(:foreground | |
,wizard/light-blue | |
:background nil)))) | |
`(magit-key-mode-header-face ((t | |
(:foreground | |
,wizard/blue | |
:background nil)))) | |
`(magit-log-author ((t | |
(:foreground ,wizard/red | |
:background | |
nil)))) | |
`(magit-log-author-date-cutoff ((t | |
(:foreground | |
,wizard/red | |
:background | |
nil | |
:bold t)))) | |
`(magit-log-date ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(magit-log-graph ((t | |
(:foreground "grey80" | |
:background | |
nil)))) | |
`(magit-log-sha1 ((t | |
(:foreground ,wizard/purple | |
:background | |
nil)))) | |
`(magit-section-title ((t | |
(:foreground | |
,wizard/blue | |
:background nil)))) | |
`(magit-tag ((t | |
(:foreground ,wizard/blue | |
:background nil)))) | |
;;`(magit-valid-signature ((t (:foreground "PaleTurquoise" :background nil :bold t)))) | |
`(magit-whitespace-warning-face ((t | |
(:foreground | |
,wizard/bg | |
:background | |
"white" | |
:bold t)))) | |
`(git-gutter:deleted ((t | |
(:foreground ,wizard/red | |
:background | |
nil | |
:bold t)))) | |
`(git-gutter:modified ((t | |
(:foreground | |
,wizard/purple | |
:background nil | |
:bold t)))) | |
`(git-gutter:separator ((t | |
(:foreground | |
,wizard/orange | |
:background nil | |
:bold t)))) | |
`(git-gutter:unchanged ((t | |
(:foreground | |
,wizard/jade | |
:background nil)))) | |
`(highlight-indentation-current-column-face ((t | |
(:foreground | |
nil | |
:background | |
,wizard/gray)))) | |
`(highlight-indentation-face ((t | |
(:foreground | |
nil | |
:background | |
,wizard/darkest-gray)))) | |
;; trailing whitespace | |
`(trailing-whitespace ((t | |
(:background "white" | |
:bold t)))) | |
;; auctex | |
`(font-latex-bold-face ((t | |
(:inherit | |
bold | |
:foreground | |
,wizard/gray)))) | |
`(font-latex-doctex-documentation-face ((t | |
(:background | |
unspecified)))) | |
`(font-latex-doctex-preprocessor-face ((t | |
(:inherit | |
(font-latex-doctex-documentation-face | |
font-lock-builtin-face | |
font-lock-preprocessor-face))))) | |
`(font-latex-italic-face ((t | |
(:inherit | |
italic | |
:foreground | |
,wizard/gray)))) | |
`(font-latex-math-face ((t | |
(:foreground | |
,wizard/purple)))) | |
`(font-latex-sectioning-0-face ((t | |
(:inherit | |
font-latex-sectioning-1-face | |
:height | |
1.1)))) | |
`(font-latex-sectioning-1-face ((t | |
(:inherit | |
font-latex-sectioning-2-face | |
:height | |
1.1)))) | |
`(font-latex-sectioning-2-face ((t | |
(:inherit | |
font-latex-sectioning-3-face | |
:height | |
1.1)))) | |
`(font-latex-sectioning-3-face ((t | |
(:inherit | |
font-latex-sectioning-4-face | |
:hei<ght | |
1.1)))) | |
`(font-latex-sectioning-4-face ((t | |
(:inherit | |
font-latex-sectioning-5-face | |
:height | |
1.1)))) | |
`(font-latex-sectioning-5-face ((t | |
(:foreground | |
,wizard/red | |
:weight | |
bold)))) | |
`(font-latex-sedate-face ((t | |
(:foreground | |
,wizard/gray)))) | |
`(font-latex-slide-title-face ((t | |
(:inherit | |
font-lock-type-face | |
:weight | |
bold | |
:height | |
1.2)))) | |
`(font-latex-string-face ((t | |
(:inherit | |
font-lock-string-face)))) | |
`(font-latex-subscript-face ((t | |
(:height | |
0.8)))) | |
`(font-latex-superscript-face ((t | |
(:height | |
0.8)))) | |
`(font-latex-warning-face ((t | |
(:inherit | |
font-lock-warning-face)))) | |
;; guide-key | |
`(guide-key/prefix-command-face ((t | |
(:foreground | |
,wizard/green)))) | |
`(guide-key/highlight-command-face ((t | |
(:foreground | |
,wizard/blue)))) | |
`(guide-key/key-face ((t | |
(:foreground | |
,wizard/gray)))) | |
;; custom | |
`(custom-button ((t | |
(:foreground | |
nil | |
:background | |
nil)))) | |
`(custom-button-mouse ((t | |
(:foreground | |
nil | |
:background | |
nil)))) | |
`(custom-button-pressed ((t | |
(:foreground | |
nil | |
:background | |
nil)))) | |
`(custom-button-pressed-unraised ((t | |
(:foreground | |
,wizard/purple | |
:background | |
nil)))) | |
`(custom-button-unraised ((t | |
(:foreground | |
nil | |
:background | |
nil)))) | |
`(custom-changed ((t | |
(:foreground | |
,wizard/red | |
:background | |
nil)))) | |
`(custom-comment ((t | |
(:foreground | |
,wizard/bg | |
:background | |
,wizard/jade)))) | |
`(custom-comment-tag ((t | |
(:foreground | |
,wizard/fg | |
:background | |
nil)))) | |
`(custom-documentation ((t | |
(:foreground | |
nil | |
:background | |
nil)))) | |
`(custom-face-tag ((t | |
(:foreground | |
,wizard/light-blue | |
:background | |
nil)))) | |
`(custom-group-subtitle ((t | |
(:foreground | |
nil | |
:background | |
nil | |
:bold t)))) | |
`(custom-group-tag ((t | |
(:foreground | |
,wizard/light-blue | |
:background | |
nil | |
:bold t)))) | |
`(custom-group-tag-1 ((t | |
(:foreground | |
,wizard/jade | |
:background | |
nil | |
:bold t)))) | |
`(custom-invalid ((t | |
(:foreground | |
,wizard/bg | |
:background | |
,wizard/red)))) | |
`(custom-link ((t | |
(:inherit | |
button)))) | |
`(custom-modified ((t | |
(:foreground | |
,wizard/red | |
:background | |
nil)))) | |
`(custom-rogue ((t | |
(:foreground | |
,wizard/jade | |
:background | |
,wizard/bg)))) | |
`(custom-saved ((t | |
(:foreground | |
nil | |
:background | |
nil | |
:underline t)))) | |
`(custom-set ((t | |
(:foreground | |
,wizard/fg | |
:background | |
,wizard/dark-gray)))) | |
`(custom-state ((t | |
(:foreground | |
,wizard/green | |
:background | |
nil)))) | |
`(custom-themed ((t | |
(:foreground | |
,wizard/red | |
:background | |
nil)))) | |
`(custom-variable-button ((t | |
(:foreground | |
nil | |
:background | |
nil | |
:underline t | |
:bold t)))) | |
`(custom-variable-tag ((t | |
(:foreground | |
,wizard/light-blue | |
:background | |
nil | |
:bold t)))) | |
`(custom-visibility ((t | |
(:inherit | |
button)))) | |
`(neo-banner-face ((t | |
(:foreground | |
,wizard/light-blue | |
:background nil | |
:bold t)))) | |
`(neo-button-face ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(neo-dir-link-face ((t | |
(:foreground | |
,wizard/blue | |
:background nil)))) | |
`(neo-expand-btn-face ((t | |
(:foreground | |
,wizard/fg | |
:background nil)))) | |
`(neo-file-link-face ((t | |
(:foreground | |
,wizard/fg | |
:background nil)))) | |
`(neo-header-face ((t | |
(:foreground | |
,wizard/fg | |
:background nil)))) | |
`(neo-root-dir-face ((t | |
(:foreground | |
,wizard/green | |
:background nil | |
:bold t)))) | |
`(neo-vc-added-face ((t | |
(:foreground | |
,wizard/green | |
:background nil)))) | |
`(neo-vc-conflict-face ((t | |
(:foreground | |
,wizard/orange | |
:background nil)))) | |
`(neo-vc-default-face ((t | |
(:foreground | |
,wizard/fg | |
:background nil)))) | |
`(neo-vc-edited-face ((t | |
(:foreground | |
,wizard/jade | |
:background nil)))) | |
`(neo-vc-ignored-face ((t | |
(:foreground | |
,wizard/dark-gray | |
:background nil)))) | |
`(neo-vc-missing-face ((t | |
(:foreground | |
,wizard/red | |
:background nil)))) | |
`(neo-vc-needs-merge-face ((t | |
(:foreground | |
,wizard/orange | |
:background nil)))) | |
`(neo-vc-needs-update-face ((t | |
(:foreground nil | |
:background | |
nil | |
:underline | |
t)))) | |
`(neo-vc-removed-face ((t | |
(:foreground | |
,wizard/purple | |
:background nil)))) | |
`(neo-vc-unlocked-changes-face ((t | |
(:foreground | |
,wizard/red | |
:background | |
"Blue")))) | |
`(neo-vc-unregistered-face ((t | |
(:foreground nil | |
:background | |
nil)))) | |
`(neo-vc-up-to-date-face ((t | |
(:foreground | |
,wizard/fg | |
:background nil)))) | |
;; widget | |
`(widget-field ((t | |
(:foreground ,wizard/fg | |
:background | |
,wizard/dark-gray)))) | |
'(mode-line ((t | |
(:background "gray10" | |
:foreground "white" | |
:box (:line-width -1 | |
:style | |
released-button))))) | |
'(mode-line-buffer-id ((t | |
(:foreground "cornsilk3" | |
:weight bold)))))) ;; end of custom-theme-set-faces | |
(custom-theme-set-variables 'wizard-flat `(ansi-color-names-vector [,wizard/darker-gray | |
,wizard/red ,wizard/green | |
,wizard/jade ,wizard/blue | |
,wizard/purple ,wizard/tan | |
,wizard/fg]))) | |
;;;###autoload | |
(when load-file-name (add-to-list 'custom-theme-load-path (file-name-as-directory | |
(file-name-directory load-file-name)))) | |
;;;###autoload | |
(defun wizard-flat-theme() | |
"Apply the wizard-flat-theme." | |
(interactive) | |
(load-theme 'wizard-flat t)) | |
(custom-set-faces | |
;; custom-set-faces was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. | |
'(default ((t (:background nil :family "Terminus" :foundry "xos4" :slant normal :weight normal :height 169 :width normal)))) | |
'(avy-lead-face ((t (:background "teal" :foreground "cornsilk" :inverse-video nil)))) | |
'(avy-lead-face-0 ((t (:background "slategrey" :foreground "cornsilk" :inverse-video nil)))) | |
'(avy-lead-face-1 ((t (:background "DarkGreen" :foreground "cornsilk")))) | |
'(avy-lead-face-2 ((t (:background "orange" :foreground "cornsilk")))) | |
'(company-echo-common ((t (:foreground "goldenrod")))) | |
'(company-preview ((t (:background "thistle4" :foreground "cornsilk2")))) | |
'(company-scrollbar-bg ((t (:background "grey8")))) | |
'(company-scrollbar-fg ((t (:background "grey33")))) | |
'(company-template-field ((t (:background "cornsilk3" :foreground "black")))) | |
'(company-tooltip ((t (:background "cornsilk3" :foreground "black")))) | |
'(company-tooltip-common ((t (:foreground "darkgreen")))) | |
'(company-tooltip-mouse ((t (:background "grey8")))) | |
'(company-tooltip-selection ((t (:background "thistle4")))) | |
'(cursor ((t (:background "gray8")))) | |
'(erefactor-highlight-face ((t (:background "DarkOrange4")))) | |
'(font-lock-doc-face ((t (:foreground "goldenrod")))) | |
'(header-line ((t (:background "gray19" :foreground "darkorange")))) | |
'(helm-buffer-directory ((t (:foreground "dark violet")))) | |
'(helm-candidate-number ((t (:background "gray8")))) | |
'(helm-grep-match ((t (:foreground "DarkOrange3")))) | |
'(helm-header-line-left-margin ((t (:background "cornsilk" :foreground "black")))) | |
'(helm-selection ((t (:background "grey8" :foreground "cornsilk" :weight bold)))) | |
'(helm-selection-line ((t (:distant-foreground "dark gray")))) | |
'(helm-visible-mark ((t (:background "gray4" :foreground "gray13")))) | |
'(hl-line ((t (:background "gray11")))) | |
'(menu ((t (:distant-foreground "gray4")))) | |
'(minibuffer-prompt ((t (:foreground "DarkOrange2" :weight bold)))) | |
'(minimap-active-region-background ((t (:background "gray15")))) | |
'(minimap-font-face ((t (:height 40 :family "DejaVu Sans Mono")))) | |
'(mode-line ((t (:background "gray9" :foreground "dark orange" :box nil)))) | |
'(mode-line-buffer-id ((t (:foreground "cornsilk3" :weight bold)))) | |
'(paradox-star-face ((t (:foreground "darkorange3" :underline nil :slant normal :weight bold)))) | |
'(paradox-starred-face ((t (:foreground "orange")))) | |
'(read-aloud-text-face ((t (:background "#6B9F7F" :foreground "cornsilk")))) | |
'(tabbar-button ((t (:inherit tabbar-default)))) | |
'(tabbar-default ((t (:inherit variable-pitch :background "gray8" :foreground "grey75" :height 0.8)))) | |
'(tabbar-selected ((t (:inherit tabbar-default :foreground "#6B9F7F" :box (:line-width 1 :color "grey15" :style released-button) :underline t)))) | |
'(tabbar-unselected ((t (:inherit tabbar-default)))) | |
'(term-color-blue ((t (:background "slategrey" :foreground "slategrey")))) | |
'(term-color-yellow ((t (:background "gold" :foreground "gold")))) | |
'(tool-bar ((t (:background "black" :foreground "cornsilk3" :box (:line-width 1 :style released-button))))) | |
'(trailing-whitespace ((t (:background "grey35"))))) | |
;; no blinking cursor | |
(blink-cursor-mode -1) | |
;; no init messages | |
(setq initial-scratch-message "") | |
(setq inhibit-startup-message t) | |
;; no bell sounds | |
(setq visible-bell t) | |
;; remove all the gui bars | |
(scroll-bar-mode 0) | |
(tool-bar-mode 0) | |
(menu-bar-mode 0) | |
;; clean initial frame parameters | |
(setq initial-frame-alist '((menu-bar-lines . nil) | |
(tool-bar-lines . nil))) | |
;; package repositories | |
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") | |
("melpa" . "http://melpa.milkbox.net/packages/"))) | |
;; load theme | |
;; (load-file "~/.emacs.d/theme.el") | |
(ample-theme) | |
;; keyboard | |
;; load translit-cyrillic input method | |
(setq set-input-method "cyrillic-translit") | |
;; keybindings | |
(defun wizard-keys () | |
"keybindings for wizard-mode" | |
;; testing keys | |
(global-set-key (kbd "M-<up>") 'backward-page) | |
(global-set-key (kbd "M-<down>") 'forward-page) | |
;; emacspeak | |
(global-set-key (kbd "C-<f6>") 'toggle-tones) | |
(global-set-key (kbd "<pause>")'emacspeak-speak-buffer-interactively) | |
(global-set-key (kbd "C-<pause>")'emacspeak-speak-buffer-filename) | |
;; dired-x | |
(global-set-key (kbd "C-x C-d") 'dired-x-find-file) | |
;; completion | |
(global-set-key "\t" 'indent-relative) | |
;; (global-set-key "\t" 'company-complete-common) | |
(global-set-key (kbd "C--") 'hippie-expand) | |
(global-set-key (kbd "C-0") 'company-complete) | |
;; text scrubbing | |
;; visual regexp | |
(global-set-key (kbd "<ESC> M-q") 'vr/query-replace) | |
(global-set-key (kbd "<ESC> M-r") 'vr/replace) | |
;; ag | |
(global-set-key (kbd "M-g d") 'ag-dired) | |
(global-set-key (kbd "M-g f") 'ag-files) | |
;; avy | |
(global-set-key (kbd "C-<Scroll_Lock>") 'avy-pop-mark) | |
(global-set-key (kbd "<ESC> M-c") 'avy-goto-char) | |
(global-set-key (kbd "<ESC> M-w") 'avy-goto-word-0) | |
(global-set-key (kbd "<ESC> M-l") 'avy-goto-line) | |
;; whitespace | |
(global-set-key (kbd "<ESC> M-=") 'fixup-whitespace) | |
;; thumb keys | |
(global-set-key (kbd "<end>") 'action-key) | |
(global-set-key (kbd "<prior>") 'hyperbole) | |
(global-set-key (kbd "<next>") 'dtk-stop) | |
(global-set-key (kbd "s-<next>") 'ace-window) | |
(global-set-key (kbd "s-<prior>") 'ace-window) | |
(global-set-key (kbd "C-M-<next>") 'next-buffer) | |
(global-set-key (kbd "C-M-<prior>") 'previous-buffer) | |
(global-set-key (kbd "<home>") 'keyboard-escape-quit) | |
(global-set-key (kbd "M-<prior>") 'scroll-down-command) | |
(global-set-key (kbd "M-<next>") 'scroll-up-command) | |
(global-set-key (kbd "M-<home>") 'move-beginning-of-line) | |
(global-set-key (kbd "M-<end>") 'move-end-of-line) | |
(global-set-key (kbd "C-<next>") 'ace-window) | |
(global-set-key (kbd "C-<prior>") 'ace-window) | |
;; ui | |
(global-set-key (kbd "<ESC> M-h") 'hyperbole) | |
(global-set-key (kbd "<ESC> M-\\") 'hidden-mode-line-mode) | |
(global-set-key (kbd "C-<tab>") 'ace-window) | |
(global-set-key (kbd "<ESC> <ESC> <ESC>") 'keyboard-escape-quit) | |
(global-set-key (kbd "<ESC> M-b") 'helm-buffers-list) | |
(global-set-key (kbd "<mouse-8>") 'previous-buffer) | |
(global-set-key (kbd "<mouse-9>")'next-buffer) | |
(global-set-key (kbd "M-X") 'smex-major-mode-commands) | |
(global-set-key (kbd "M-x") 'smex) | |
(global-set-key (kbd "<f1>") 'helm-buffers-list) | |
(global-set-key (kbd "<f2>") 'helm-company) | |
(global-set-key (kbd "M-<f1>") 'helm-mt) | |
(global-set-key (kbd "C-<f12>") 'hidden-mode-line-mode) | |
(global-set-key (kbd "C-<f2>") | |
(lambda () | |
(interactive) | |
(find-file "~/.emacs"))) | |
(global-set-key (kbd "<C-f3>") | |
(lambda () | |
(interactive) | |
(switch-to-buffer "*Messages*"))) | |
(global-set-key (kbd "<ESC> M-a") | |
(lambda () | |
(interactive) | |
(find-file "~/.emacs.d/mma.org"))) | |
;; major modes | |
;; multi-term alist | |
(defcustom term-unbind-key-list '("M-[" "C-z" "C-x" "C-c" "C-h" "C-y" "<ESC>") | |
"The key list that will need to be unbind." | |
:type 'list | |
:group 'multi-term) | |
(defcustom term-bind-key-alist | |
'(("C-c C-c" . term-interrupt-subjob) | |
("C-p" . previous-line) | |
("C-n" . next-line) | |
("C-s" . isearch-forward) | |
("C-r" . isearch-backward) | |
("C-m" . term-send-raw) | |
("M-f" . term-send-forward-word) | |
("M-b" . term-send-backward-word) | |
("M-o" . term-send-backspace) | |
("M-p" . term-send-up) | |
("M-n" . term-send-down) | |
("M-M" . term-send-forward-kill-word) | |
("M-N" . term-send-backward-kill-word) | |
("M-r" . term-send-reverse-search-history) | |
("M-," . term-send-input) | |
("M-." . comint-dynamic-complete)) | |
"The key alist that will need to be bind." | |
:type 'alist | |
:group 'multi-term) | |
;; erc hide-join-part-quit-key | |
(eval-after-load "erc" '(progn (define-key erc-mode-map "C-M-h" | |
(lambda () | |
(interactive "") | |
(setq erc-hide-list '("JOIN" "PART" "QUIT")))))) | |
;; emms | |
(global-set-key (kbd "C-s-n") 'emms-next) | |
(global-set-key (kbd "C-s-p") 'emms-previous) | |
(global-set-key (kbd "C-s-l") 'emms-playlist-mode-go) | |
;; mode switching | |
(global-set-key (kbd "<f5>") 'nlinum-mode) | |
(global-set-key (kbd "<f6>") 'restart-emacs) | |
(global-set-key (kbd "<f7>") 'flyspell-mode) | |
(global-set-key (kbd "<f8>") 'minimap-mode) | |
(global-set-key (kbd "<f12>") 'menu-bar-mode) | |
(global-set-key (kbd "<C-f5>") 'scroll-bar-mode) | |
(global-set-key (kbd "<C-f7>")'flycheck-mode) | |
(global-set-key (kbd "<C-f8>") 'tabbar-mode) | |
(global-set-key (kbd "<ESC> M-R") 'yas-reload-all) | |
(global-set-key (kbd "<ESC> M-d") 'dired) | |
(global-set-key (kbd "<ESC> M-f") 'flyspell) | |
(global-set-key (kbd "<ESC> M-g") 'visit-gnus) | |
(global-set-key (kbd "<ESC> M-m") 'markdown-mode) | |
(global-set-key (kbd "<ESC> M-o") 'org-mode) | |
(global-set-key (kbd "<ESC> M-p") 'visit-paradox) | |
(global-set-key (kbd "<ESC> M-s") 'start-speech) | |
(global-set-key (kbd "<ESC> M-t") 'multi-term) | |
(global-set-key (kbd "<ESC> M-y") 'yas-minor-mode) | |
(global-set-key (kbd "C-s-SPC") 'dtk-stop)) | |
(wizard-keys) | |
;; custom functions | |
(defun wizard-bar () | |
(interactive) | |
"loads custom mode-line bits" | |
;; use setq-default to set it for /all/ modes | |
(setq mode-line-format (list | |
;; the buffer name; the file name as a tool tip | |
'(:eval (propertize "%b " 'face 'font-lock-keyword-face 'help-echo | |
(buffer-file-name))) | |
;; line and column | |
"[" ;; '%02' to set to 2 chars at least; prevents flickering | |
(propertize "%02l" 'face 'font-lock-type-face) "." (propertize "%02c" | |
'face | |
'font-lock-type-face) | |
"]" | |
;; relative position, size of file | |
"[" (propertize "%p" 'face 'font-lock-constant-face) ;; % above top | |
"/" (propertize "%I" 'face 'font-lock-constant-face) ;; size | |
"]" | |
;; the current major mode for the buffer. | |
"[" | |
'(:eval (propertize "%m" 'face 'font-lock-string-face 'help-echo | |
buffer-file-coding-system)) | |
"] " "[" ;; insert vs overwrite mode, input-method in a tooltip | |
;'(:eval (propertize (if overwrite-mode "Ovr" "Ins") | |
; 'face 'font-lock-preprocessor-face | |
; 'help-echo (concat "Buffer is in " | |
; (if overwrite-mode "overwrite" "insert") " mode"))) | |
;; was this buffer modified since the last save? | |
'(:eval (when (buffer-modified-p) | |
(concat "" (propertize "𝜇" 'face 'font-lock-string-face | |
'help-echo "Buffer has been modified")))) | |
;; is this buffer read-only? | |
'(:eval (when buffer-read-only (concat "." (propertize "𝘹" 'face | |
'font-lock-type-face | |
'help-echo | |
"Buffer is read-only")))) | |
"] " | |
;; add the time, with the date and the emacs uptime in the tooltip | |
'(:eval (propertize (format-time-string "%H:%M") 'help-echo (concat | |
(format-time-string | |
"%c; ") | |
(emacs-uptime | |
"Uptime:%hh")))) | |
" --" | |
;; show minor modes | |
minor-mode-alist ;; list of minor modes | |
;; uncomment to add mode-line fill char | |
;;"%-" ;; fill with '-' | |
))) | |
; (add-hook 'change-major-mode-hook 'wizard-bar) | |
(add-hook 'after-change-major-mode-hook 'wizard-bar) | |
(add-hook 'after-init-hook 'wizard-bar) | |
;; hidden-mode-line-mode | |
;; See http://bzg.fr/emacs-hide-mode-line.html | |
(defvar-local | |
hidden-mode-line-mode | |
nil) | |
(defvar-local | |
hide-mode-line | |
nil) | |
(define-minor-mode hidden-mode-line-mode "Minor mode to hide the mode-line in the current buffer." | |
:init-value nil | |
:global nil | |
:variable hidden-mode-line-mode | |
:group 'editing-basics | |
(if hidden-mode-line-mode | |
(setq hide-mode-line mode-line-format mode-line-format nil) | |
(setq mode-line-format hide-mode-line hide-mode-line nil)) | |
(force-mode-line-update) | |
;; Apparently force-mode-line-update is not always enough to | |
;; redisplay the mode-line | |
(redraw-display) | |
(when (and (called-interactively-p 'interactive) | |
hidden-mode-line-mode) | |
(run-with-idle-timer 0 nil 'message (concat "Hidden Mode Line Mode enabled. " | |
"Use M-x hidden-mode-line-mode to make the mode-line appear.")))) | |
;; command to toggle the display of the mode-line as a header | |
(defvar-local | |
header-line-format | |
nil) | |
(defun mode-line-in-header () | |
(interactive) | |
(if (not header-line-format) | |
(setq header-line-format mode-line-format mode-line-format nil) | |
(setq mode-line-format header-line-format header-line-format nil)) | |
(set-window-buffer nil (current-buffer))) | |
;; find file as root | |
(defun find-file-as-root () | |
"Edit file with root-privileges using tramp." | |
(interactive) | |
(let ((file (ido-read-file-name "Edit as root: "))) | |
(unless (file-writable-p file) | |
(setq file (concat "/sudo:root@localhost:" file))) | |
(find-file file))) | |
(global-set-key (kbd "C-x F") 'find-file-as-root) | |
;; no-pdf | |
(add-to-list 'auto-mode-alist '("\\.pdf\\'" . no-pdf)) | |
(defun no-pdf () | |
"Run pdftotext on the entire buffer." | |
(interactive) | |
(let ((modified (buffer-modified-p))) | |
(erase-buffer) | |
(shell-command (concat "pdftotext " (buffer-file-name) " -") | |
(current-buffer) t) | |
(set-buffer-modified-p modified))) | |
(defun copy-current-file-name () | |
"Add the current buffer file name to the kill ring." | |
(interactive) | |
(let ((filename (if (equal major-mode 'dired-mode) default-directory (buffer-file-name)))) | |
(when filename (kill-new filename) | |
(message "File name '%s' added to the kill ring." filename)))) | |
;; paradox | |
(unless (package-installed-p 'paradox) | |
(package-refresh-contents) | |
(package-install 'paradox)) | |
(require 'paradox) | |
'(paradox-github-token t) | |
;; aptitude search key bindings for paradox | |
(defun my-paradox-mode-keys () | |
"Modify keymaps used by paradox." | |
(local-set-key (kbd "/") 'isearch-forward-regexp) | |
(local-set-key (kbd ";") 'isearch-backward-regexp)) | |
(add-hook 'paradox-menu-mode-hook 'my-paradox-mode-keys) | |
;; avoid duplication of the paradox buffer if one already exists | |
;; otherwise create one when called | |
(defun visit-paradox () | |
"Create or visit a `paradox' buffer." | |
(interactive) | |
(if (not (get-buffer "*Packages*")) | |
(progn (split-window-sensibly (selected-window)) | |
(other-window 1) | |
(paradox-list-packages ())) | |
(switch-to-buffer-other-window "*Packages*"))) | |
(global-set-key (kbd "<f9>") | |
(lambda () | |
(interactive) | |
(visit-paradox))) | |
;; gnus | |
(defun visit-gnus () | |
"Create or visit a gnus buffer." | |
(interactive) | |
(if (not (get-buffer "*Group*")) | |
(progn (split-window-sensibly (selected-window)) | |
(other-window 1) | |
(gnus)) | |
(switch-to-buffer-other-window "*Group*"))) | |
;; book searching | |
(defun abebooks-search () | |
"Search abebooks.com for the selected region if any, display a query prompt otherwise." | |
(Interactive) | |
(Browse-Url (Concat "Http://Www.Abebooks.Com/Servlet/Searchresults?Kn=" (Url-Hexify-String (If | |
Mark-Active | |
(Buffer-Substring | |
(Region-Beginning) | |
(Region-End)) | |
(Read-string | |
"AbeBooks: ")))))) | |
(defun amazon-search () | |
"Search amazon.com for the selected region if any, display a query prompt otherwise." | |
(interactive) | |
(browse-url (concat "http://www.amazon.com/s/?url=search-alias%3Daps&field-keywords=" | |
(url-hexify-string (if mark-active | |
(buffer-substring | |
(region-beginning) | |
(region-end)) | |
(read-string "Amazon: ")))))) | |
(defun bookshare-catalog-search () | |
"Search the Bookshare.org catalog for the selected region if any, display a query prompt otherwise." | |
(interactive) | |
(browse-url (concat "https://www.bookshare.org/search?keyword=" (url-hexify-string (if mark-active | |
(buffer-substring | |
(region-beginning) | |
(region-end)) | |
(read-string | |
"Bookshare Catalog: ")))))) | |
(defun clark-catalog-search () | |
"Search the Clark College Libraries catalog for the selected region if any, display a query prompt otherwise." | |
(interactive) | |
(browse-url (concat | |
"http://alliance-primo.hosted.exlibrisgroup.com/primo_library/libweb/action/search.do?fn=search&ct=search&initialSearch=true&mode=Basic&tab=default_tab&indx=1&dum=true&srt=rank&vid=CC&frbg=&tb=t&vl%28freeText0%29=" | |
(url-hexify-string (if mark-active | |
(buffer-substring | |
(region-beginning) | |
(region-end)) | |
(read-string "Clark Catalog:")))))) | |
(defun fvrl-catalog-search () | |
"Search the Fort Vancouver Regional Library catalog for the selected region if any, display a query prompt otherwise." | |
(interactive) | |
(browse-url (concat "http://fvrl.ent.sirsi.net/client/en_US/catalog/search/results?qu=" | |
(url-hexify-string (if mark-active | |
(buffer-substring | |
(region-beginning) | |
(region-end)) | |
(read-string "Fort Vancouver Catalog: ")))))) | |
(defun google-books-search () | |
"Search Google Books for the selected region if any, display a query prompt otherwise." | |
(interactive) | |
(browse-url (concat "https://www.google.com/search?tbm=bks&q=" (url-hexify-string (if mark-active | |
(buffer-substring | |
(region-beginning) | |
(region-end)) | |
(read-string | |
"Google Books: ")))))) | |
(defun mcl-catalog-search () | |
"Search the Multnomah County Library catalog for the selected region if any, display a query prompt otherwise." | |
(interactive) | |
(browse-url (concat "https://multcolib.bibliocommons.com/search?custom_query=" (url-hexify-string | |
(if mark-active | |
(buffer-substring | |
(region-beginning) | |
(region-end)) | |
(read-string | |
"Multnomah County Catalog: ")))))) | |
(defun ohsu-library-catalog-search () | |
"Search the Oregon Health and Sciences University library catalog for the selected region if any, display a query prompt otherwise." | |
(interactive) | |
(browse-url (concat | |
"http://librarysearch.ohsu.edu/primo_library/libweb/action/dlSearch.do?searcharg=string&institution=OHSU&vid=OHSU&search_scope=ohsu_alma&fctExcV=journals&mulExcFctN=facet_rtype&rfnExcGrp=1&highlight=true&dum=true&query=any%2Ccontains%2C" | |
(url-hexify-string (if mark-active | |
(buffer-substring | |
(region-beginning) | |
(region-end)) | |
(read-string "OHSU Catalog: ")))))) | |
(defun overdrive-catalog-search () | |
"Search the OverDrive catalog for the selected region if any, display a query prompt otherwise." | |
(interactive) | |
(browse-url (concat "https://www.overdrive.com/search?q=" (url-hexify-string (if mark-active | |
(buffer-substring | |
(region-beginning) | |
(region-end)) | |
(read-string | |
"OverDrive Catalog: ")))))) | |
(defun pcc-catalog-search () | |
"Search the PCC catalog for the selected region if any, display a query prompt otherwise." | |
(interactive) | |
(browse-url (concat | |
"http://alliance-primo.hosted.exlibrisgroup.com/primo_library/libweb/action/dlSearch.do?institution=PCC&vid=PCC&fn=search&group=GUEST&onCampus=true&displayMode=full&highlight=true&displayField=title&displayField=creator&displayField=contributor&displayField=publisher&displayField=creationdate&displayField=description&displayField=subject&bulkSize=20&query=any%2Ccontains%2C" | |
(url-hexify-string (if mark-active | |
(buffer-substring | |
(region-beginning) | |
(region-end)) | |
(read-string "OverDrive Catalog: ")))))) | |
(defun powells-search () | |
"Search the Powell's City of Books website for the selected region if any, display a query prompt otherwise." | |
(interactive) | |
(browse-url (concat "http://www.powells.com/SearchResults?kw=title:" (url-hexify-string (if | |
mark-active | |
(buffer-substring | |
(region-beginning) | |
(region-end)) | |
(read-string | |
"Powell's: ")))))) | |
(defun psu-catalog-search () | |
"Search the Portland State University catalog for the selected region if any, display a query prompt otherwise." | |
(interactive) | |
(browse-url (concat | |
"http://search.library.pdx.edu/primo_library/libweb/action/dlSearch.do?institution=PSU&vid=PSU&tab=default_tab&search_scope=psu_library_summit&mode=Basic&onCampus=false&displayMode=full&bulkSize=10&highlight=true&dum=true&dscnt=0&query=any%2Ccontains%2C" | |
(url-hexify-string (if mark-active | |
(buffer-substring | |
(region-beginning) | |
(region-end)) | |
(read-string "PSU Catalog: ")))))) | |
(defun vintage-books-search () | |
"Search vintage-books.com for the selected region if any, display a query prompt otherwise." | |
(interactive) | |
(browse-url (concat | |
"http://www.vintage-books.com/?CLSN_2361=1457058371236132db4b040a3027589f&keyword=" | |
(url-hexify-string (if mark-active | |
(buffer-substring | |
(region-beginning) | |
(region-end)) | |
(read-string "Vintage Books: ")))))) | |
(defun worldcat-catalog-search () | |
"Search the worldcat.org catalog for the selected region if any, display a query prompt otherwise." | |
(interactive) | |
(browse-url (concat "https://www.worldcat.org/search?qt=worldcat_org_all&q=" (url-hexify-string | |
(if mark-active | |
(buffer-substring | |
(region-beginning) | |
(region-end)) | |
(read-string | |
"WorldCat Catalog: ")))))) | |
;; some async shell functions to run common commands | |
(defun amazon () | |
"Visit amazon.com in the default browser." | |
(interactive) | |
(browse-url "http://www.amazon.com/")) | |
(defun force-system-reboot-now () | |
"Pass sudo reboot -f to async-shell-command." | |
(interactive) | |
(async-shell-command "sudo reboot -f")) | |
(defun chrunchyroll () | |
(interactive) | |
(browse-url "http://www.crunchyroll.com/")) | |
;; search functions | |
(defun netflix-search () | |
"Search netflix for the selected region if any, display a query prompt otherwise." | |
(interactive) | |
(browse-url (concat "http://www.netflix.com/search/" (url-hexify-string (if mark-active | |
(buffer-substring | |
(region-beginning) | |
(region-end)) | |
(read-string "netflix: | |
")))))) | |
(defun crunchyroll-search () | |
"Search crunchyroll for the selected region if any, display a query prompt otherwise." | |
(interactive) | |
(browse-url (concat "http://www.crunchyroll.com/search?from=&q=" (url-hexify-string (if | |
mark-active | |
(buffer-substring | |
(region-beginning) | |
(region-end)) | |
(read-string | |
"crunchyroll: | |
")))))) | |
;; sudo-prepend | |
(fset 'sudo-prepend-up [up home ?s ?u ?d ?o ? end]) | |
(fset 'sudo-prepend [home ?s ?u ?d ?o ? end]) | |
;; undo-tree really hates linum | |
(defun undo-tree-visualizer-update-linum | |
(&rest | |
args) | |
(linum-update undo-tree-visualizer-parent-buffer)) | |
(advice-add 'undo-tree-visualize-undo | |
:after #'undo-tree-visualizer-update-linum) | |
(advice-add 'undo-tree-visualize-redo | |
:after #'undo-tree-visualizer-update-linum) | |
(advice-add 'undo-tree-visualize-undo-to-x | |
:after #'undo-tree-visualizer-update-linum) | |
(advice-add 'undo-tree-visualize-redo-to-x | |
:after #'undo-tree-visualizer-update-linum) | |
(advice-add 'undo-tree-visualizer-mouse-set | |
:after #'undo-tree-visualizer-update-linum) | |
(advice-add 'undo-tree-visualizer-set | |
:after #'undo-tree-visualizer-update-linum) | |
;; hooks | |
;; toggle nlinum in programming modes | |
(add-hook 'prog-mode-hook 'nlinum-mode +1) | |
;; toggle minimap in programming modes | |
;; (add-hook 'prog-mode-hook 'minimap-mode +1) | |
;; smartparens | |
(add-hook 'prog-mode-hook 'smartparens-mode +1) | |
(add-hook 'text-mode-hook 'smartparens-mode +1) | |
;; sudo-prepend in terms | |
(add-hook 'term-mode-hook | |
(lambda () | |
(add-to-list 'term-bind-key-alist '("<ESC> M-!" . sudo-prepend) | |
(add-to-list 'term-bind-key-alist '("s-C-<up>" . sudo-prepend-up))))) | |
(add-hook 'term-mode-hook | |
(lambda () | |
(add-to-list 'term-bind-key-alist '("M-s p" . sudo-prepend)))) | |
(add-hook 'term-mode-hook | |
(lambda () | |
(setq term-buffer-maximum-size 0))) | |
(add-hook 'term-mode-hook | |
(lambda () | |
(define-key term-raw-map (kbd "C-y") 'term-paste))) | |
;; enable visual line wrapping in text modes | |
(add-hook 'text-mode-hook 'visual-line-mode) | |
;; enable yasnippet selectively in some modes | |
(add-hook 'android-mode-hook 'yas-minor-mode +1) | |
(add-hook 'arduino-mode-hook 'yas-minor-mode +1) | |
(add-hook 'c-mode-hook 'yas-minor-mode +1) | |
(add-hook 'clojure-mode-hook 'yas-minor-mode +1) | |
(add-hook 'emacs-lisp-mode-hook 'yas-minor-mode +1) | |
(add-hook 'go-mode-hook 'yas-minor-mode +1) | |
(add-hook 'java-mode-hook 'yas-minor-mode +1) | |
(add-hook 'js2-mode-hook 'yas-minor-mode +1) | |
(add-hook 'lisp-interaction-mode-hook 'yas-minor-mode +1) | |
(add-hook 'markdown-mode-hook 'yas-minor-mode +1) | |
(add-hook 'nhexl-mode-mode-hook 'yas-minor-mode +1) | |
(add-hook 'org-mode-hook 'yas-minor-mode +1) | |
(add-hook 'perl-mode-hook 'yas-minor-mode +1) | |
(add-hook 'php-mode-hook 'yas-minor-mode +1) | |
(add-hook 'python-mode-hook 'yas-minor-mode +1) | |
(add-hook 'ruby-mode-hook 'yas-minor-mode +1) | |
(add-hook 'rust-mode-hook 'yas-minor-mode +1) | |
(add-hook 'shell-mode-hook 'yas-minor-mode +1) | |
(add-hook 'shell-script-mode-hook 'yas-minor-mode +1) | |
;; gnus | |
(add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus) | |
;; company | |
(add-hook 'lisp-interaction-mode-hook | |
(lambda () | |
(set (make-local-variable 'company-backends) | |
'(company-elisp)))) | |
;; setup tweaks | |
;; always load the newest byte code | |
(setq load-prefer-newer t) | |
;; .zsh file is shell script too | |
(add-to-list 'auto-mode-alist '("\\.zsh\\'" . shell-script-mode)) | |
;; whitespace-mode | |
(require 'whitespace) | |
(setq whitespace-line-column 80) ;; limit line length | |
(setq whitespace-style '(face tabs empty trailing lines-tail)) | |
;; sensible undo | |
(global-undo-tree-mode) | |
;; diff-hl | |
(global-diff-hl-mode +1) | |
(add-hook 'dired-mode-hook 'diff-hl-dired-mode) | |
;; easy-kill | |
(global-set-key [remap kill-ring-save] 'easy-kill) | |
(global-set-key [remap mark-sexp] 'easy-mark) | |
;; global modes | |
(global-company-mode) | |
(global-magit-file-mode) | |
(global-prettify-symbols-mode) | |
(global-pretty-lambda-mode) | |
(global-undo-tree-mode) | |
(beacon-mode -1) | |
;; minimap | |
'(minimap-display-semantic-overlays t) | |
'(minimap-hide-fringes t) | |
'(minimap-highlight-line t) | |
'(minimap-major-modes (quote (prog-mode text-mode))) | |
'(minimap-minimum-width 20) | |
'(minimap-sync-overlay-properties (quote (face invisible))) | |
'(minimap-update-delay 0.1) | |
'(minimap-width-fraction 0.04) | |
'(minimap-window-location (quote right)) | |
;; fonts | |
;; (set-frame-font "liberation mono 14") | |
;; dired | |
;; all marked | |
(eval-after-load "dired" '(progn (define-key dired-mode-map "f" 'dired-get-marked) | |
(defun dired-get-marked | |
(&optional | |
arg) | |
"Open each of the marked files, or the file under the point, or when prefix arg, the next N files " | |
(interactive "P") | |
(let* ((fn-list (dired-get-marked-files nil arg))) | |
(mapc 'find-file fn-list))))) | |
;; enable wheelmouse support | |
(cond (window-system (mwheel-install))) | |
;; hitting delete will delete the highlighted region | |
(pending-delete-mode 1) | |
;; title bar shows name of current buffer | |
(setq frame-title-format '("emacs: %b")) | |
(defun kill-yas () | |
"Kill yasnippet interactively." | |
((lambda | |
() | |
(interactive) | |
(yas-minor-mode -1)))) | |
;; multi-term | |
(setq multi-term-program "/usr/local/bin/zsh") | |
;; crux | |
(setq save-abbrevs 'silently) | |
(setq-default abbrev-mode t) | |
(require 'crux) | |
;; highlight escape sequences | |
(unless (package-installed-p 'highlight-escape-sequences) | |
(package-refresh-contents) | |
(package-install 'highlight-escape-sequences)) | |
(require 'highlight-escape-sequences) | |
(hes-mode) | |
(put 'font-lock-regexp-grouping-backslash 'face-alias 'font-lock-builtin-face) | |
;; start emacs server unless it is already running | |
(require 'server) | |
(unless (server-running-p) | |
(server-start)) | |
;; save history | |
(setq savehist-file "~/.emacs.d/savehist") | |
(savehist-mode 1) | |
(setq history-length t) | |
(setq history-delete-duplicates t) | |
(setq savehist-save-minibuffer-history 1) | |
(setq savehist-additional-variables '(kill-ring search-ring regexp-search-ring)) | |
;; save on idle | |
(defvar idle-save-buffer-list '()) | |
(defvar idle-save-buffer-time 10) | |
;; unify kill-ring and x clipboard | |
(setq x-select-enable-clipboard t) | |
;; yes or no prompts accept y or n abbrevs | |
(fset 'yes-or-no-p 'y-or-n-p) | |
;; markdown | |
(autoload 'markdown-mode "markdown-mode" "Major mode for editing Markdown files" t) | |
(add-to-list 'auto-mode-alist '("\\.txt\\'" . markdown-mode)) | |
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode)) | |
(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)) | |
(add-hook 'markdown-mode-hook 'visual-line-mode) | |
;; web-mode | |
(add-to-list 'auto-mode-alist '("\\.phtml\\'" . web-mode)) | |
(add-to-list 'auto-mode-alist '("\\.tpl\\.php\\'" . web-mode)) | |
(add-to-list 'auto-mode-alist '("\\.[gj]sp\\'" . web-mode)) | |
(add-to-list 'auto-mode-alist '("\\.as[cp]x\\'" . web-mode)) | |
(add-to-list 'auto-mode-alist '("\\.erb\\'" . web-mode)) | |
(add-to-list 'auto-mode-alist '("\\.mustache\\'" . web-mode)) | |
(add-to-list 'auto-mode-alist '("\\.djhtml\\'" . web-mode)) | |
(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode)) | |
;; javascript | |
(add-to-list 'auto-mode-alist '("\\.js\\'\\|\\.json\\'" . js2-mode)) | |
;; csv-mode | |
(add-to-list 'auto-mode-alist '("\\.[Cc][Ss][Vv]\\'" . csv-mode)) | |
(autoload 'csv-mode "csv-mode" "Major mode for editing comma-separated value files." t) | |
;; erc | |
(setq erc-hide-list '("JOIN" "PART" "QUIT")) | |
;; emms | |
;; use mplayer backend for added codec support | |
(use-package | |
emms | |
:ensure t | |
:defer t | |
:config (progn | |
(require 'emms-player-simple) | |
(require 'emms-source-file) | |
(require 'emms-source-playlist) | |
(require 'emms-player-mplayer) | |
(setq emms-player-list '(emms-player-mplayer)))) | |
;; org | |
(add-to-list 'auto-mode-alist '("\\.cat\\'" . | |
(lambda () | |
(turn-on-orgtbl)))) | |
;; hyperbole | |
;; use org for PersonalFile | |
(add-to-list 'auto-mode-alist '("HYPB" . | |
(lambda () | |
(org-mode) | |
(nlinum-mode)))) | |
;; (switch-to-buffer "*scratch*") | |
(defun wizard-icons () | |
(interactive) | |
;; diminish minor modes | |
(require 'diminish) | |
(diminish 'abbrev-mode "⥱") | |
(diminish 'company-mode "㏇") | |
(diminish 'flycheck-mode "☑") | |
(diminish 'flyspell-mode "✓") | |
(diminish 'global-voice-lock-mode) | |
(diminish 'helm-mode "⎈") | |
(diminish 'hs-minor-mode) | |
(diminish 'minimap-mode "") | |
(diminish 'disable-mouse-mode "⌨") | |
(diminish 'smartparens-mode "␠") | |
(diminish 'undo-tree-mode) | |
(diminish 'visual-line-mode "﹉") | |
(diminish 'voice-lock-mode "🅅") | |
(diminish 'whitespace-mode "_") | |
(diminish 'yas-minor-mode "✂")) | |
(add-hook 'change-major-mode-hook 'wizard-icons) | |
;; speech | |
(defun start-speech () | |
"Load userspace emacspeak with sane settings" | |
(load-file "/usr/share/emacs/site-lisp/emacspeak-45.0/lisp/emacspeak-setup.el") | |
(emacspeak-silence) | |
(dtk-stop) | |
(universal-argument) | |
(dtk-set-rate 120 +1) | |
(emacspeak-toggle-auditory-icons +1)) | |
(fset 'toggle-tones | |
(lambda () | |
(interactive) | |
(emacspeak-toggle-auditory-icons -1))) | |
(lambda () | |
"toggle speech" | |
(interactive) | |
(dtk-toggle-quiet +1) | |
(emacspeak-silence)) | |
(start-speech) | |
(wizard-icons) | |
(wizard-bar) | |
;; prefer utf-8 for both display and editing | |
(prefer-coding-system 'utf-8) | |
(set-terminal-coding-system 'utf-8) | |
(set-keyboard-coding-system 'utf-8) | |
(set-default buffer-file-coding-system 'utf-8-unix) | |
(set-default-coding-systems 'utf-8-unix) | |
(prefer-coding-system 'utf-8-unix) | |
(set-default buffer-file-coding-system 'utf-8-unix) | |
;; fullscreen | |
;; (toggle-frame-fullscreen) | |
(custom-set-variables | |
;; custom-set-variables was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. | |
'(blink-cursor-mode nil) | |
'(current-language-environment "UTF-8") | |
'(dtk-local-engine "outloud") | |
'(dtk-startup-hook (quote (emacspeak-tts-startup-hook))) | |
'(dtk-use-tones nil) | |
'(emacspeak-emergency-tts-server "outloud") | |
'(emacspeak-hyper-keys | |
(quote | |
((":" emacspeak-wizards-view-buffers-filtered-by-m-player-mode) | |
(";" emacspeak-m-player-using-openal) | |
("B" eww-list-bookmarks) | |
("C" apu-chars) | |
("N" emacspeak-npr-listing) | |
("a" emacspeak-wizards-term) | |
("b" eww-list-buffers) | |
("c" browse-url-chrome) | |
("d" magit-dispatch-popup) | |
("e" gmaps) | |
("f" emacspeak-webspace-freebase-search) | |
("g" gnus) | |
("h" emacspeak-org-capture-link) | |
("i" ido-everywhere) | |
("j" emacspeak-wizards-shell-toggle) | |
("k" emacspeak-webspace-knowledge-search) | |
("l" emacspeak-librivox) | |
("m" vm) | |
("n" emacspeak-npr-play-program) | |
("o" other-frame) | |
("p" emacspeak-wizards-pdf-open) | |
("q" emacspeak-remote-quick-connect-to-server) | |
("r" org-capture) | |
("s" emacspeak-wizards-shell) | |
("t" twit) | |
("u" browse-url) | |
("v" emacspeak-muggles-view/body)))) | |
'(emacspeak-play-emacspeak-startup-icon nil) | |
'(emacspeak-speak-tooltips nil) | |
'(emacspeak-use-header-line nil) | |
'(line-number-mode nil) | |
'(package-selected-packages | |
(quote | |
(2048-game abacus ac-anaconda ac-c-headers ac-capf ac-dabbrev ac-emacs-eclim ac-emmet ac-haskell-process ac-helm ac-html ac-html-angular ac-html-bootstrap ac-html-csswatcher ac-ispell ac-js2 ac-math ac-nrepl ac-python ac-slime ace-flyspell ace-isearch ace-jump-buffer ace-jump-helm-line ace-jump-zap ace-link ace-mc ace-popup-menu achievements ack ack-menu actionscript-mode ada-mode ada-ref-man adaptive-wrap adjust-parens aes ag aggressive-fill-paragraph aggressive-indent ahk-mode ahungry-theme airline-themes airplay all-ext alpha ampc ample-theme ample-zen-theme anaphora android-mode angular-mode annotate annotate-depth ant anti-zenburn-theme anything-exuberant-ctags anything-git-files anything-git-grep anything-project anything-replace-string anything-sage anzu apache-mode applescript-mode apropos-fn+var apt-utils-ido apu arbitools archive-downloader aria2 artbollocks-mode ascii atom-one-dark-theme auctex-latexmk auctex-lua audio-notes-mode aumix-mode aurora-theme auth-password-store auto-compile auto-complete-auctex auto-complete-c-headers auto-complete-chunk auto-complete-clang auto-complete-clang-async auto-complete-etags auto-complete-exuberant-ctags auto-complete-nxml auto-complete-octave auto-complete-rst auto-complete-sage auto-complete-verilog auto-dictionary auto-dim-other-buffers auto-indent-mode auto-overlays auto-pause auto-shell-command auto-virtualenv auto-yasnippet autobookmarks automargin autopair autotetris-mode avy-flycheck avy-migemo avy-zap awk-it aws-ec2 babel back-button bash-completion batch-mode bbcode-mode bbdb-android bbdb-csv-import bbdb-ext bbdb-handy bbdb2erc bbyac beacon better-defaults better-registers bf-mode bfbuilder bibretrieve bibslurp bibtex-utils bison-mode bitbake bitly blackboard-bold-mode blank-mode blgrep blockdiag-mode bog bongo boon boxquote bpr brainfuck-mode broadcast browse-at-remote browse-kill-ring+ browse-url-dwim buffer-buttons buffer-move buffer-sets buffer-stack buffer-utils bufshow bug-hunter bug-reference-github butler buttercup button-lock cabledolphin cache cake cake-inflector cake2 calfw calfw-gcal camcorder caps-lock capture cargo cask-package-toolset cbm cdlatex cedit celery centered-cursor-mode centered-window-mode centimacro cerbere changelog-url char-menu cheatsheet checkbox chess chm-view cider-decompile cider-eval-sexp-fu cider-profile cider-spy cil-mode cinspect circe-notifications cl-format cl-lib-highlight clean-buffers clevercss cliphist clippy clj-mode cljr-helm cljsbuild-mode clojars clojure-cheatsheet clojure-env clojure-here clojure-mode-extra-font-locking clojure-quick-repls clojure-snippets clojure-test-mode clojurescript-mode clomacs closure-lint-mode cmake-ide cmake-mode cmake-project cmm-mode cobra-mode code-library codebug codesearch coffee-mode color-identifiers-mode color-theme-approximate color-theme-cobalt color-theme-github color-theme-sanityinc-solarized color-theme-solarized column-marker command-queue comment-dwim-2 commenter commify common-lisp-snippets compact-docstrings company-anaconda company-ansible company-arduino company-auctex company-cabal company-cmake company-dict company-emacs-eclim company-emoji company-flx company-ghc company-ghci company-go company-inf-ruby company-irony-c-headers company-jedi company-lua company-math company-ngram company-nixos-options company-php company-quickhelp company-restclient company-shell company-sourcekit company-statistics company-tern company-try-hard company-web company-ycm company-ycmd confluence contrast-color control-mode copyit-pandoc corral coverage cpputils-cmake creds crisp crontab-mode crosshairs crux css-comb css-eldoc css-mode cssfmt cssh csv-mode csv-nav ctags ctags-update ctypes curl-for-url cursor-chg cyberpunk-theme cycbuf cycle-quotes cyphejor cython-mode dante darcula-theme darkroom dash-at-point date-at-point dbus-codegen ddskk debbugs decide dedicated default-text-scale define-word deft delight delim-kill desktop-registry dict-tree dictionary diff-git diff-hl diffscuss-mode diffview dim dircmp dired+ dired-atool dired-avfs dired-details+ dired-dups dired-efap dired-explorer dired-fdclone dired-filetype-face dired-filter dired-imenu dired-isearch dired-k dired-narrow dired-nav-enhance dired-open dired-quick-sort dired-rainbow dired-ranger dired-single dired-sort dired-sort-menu+ dired-subtree dired-toggle dired-toggle-sudo diredful direx-grep dirtree disable-mouse disaster discover-clj-refactor discover-js2-refactor discover-my-major disk dismal djvu dmenu docbook docean docker-api dockerfile-mode dokuwiki-mode dom doom-themes dos download-region downplay-mode dpaste dropbox dynamic-ruler e2ansi e2wm easy-escape ebib edbi ediprolog edit-server editorconfig editorconfig-core edts eimp ein eink-theme el-autoyas el-search el-spice el-swank-fuzzy el2markdown elang eldoc-eval eldoc-extension electric-case electric-operator elein elfeed-org elisp-cache elisp-depend elisp-format elisp-indexer elisp-lint elisp-sandbox elisp-slime-nav elixir-yasnippets elmine elnode elog elogcat elscreen-buffer-group elscreen-mew elscreen-multi-term elscreen-persist elwm emacs-cl emacs-eclim emacs-xkcd emacsql-mysql emacsql-psql emacsql-sqlite emaps emms-info-mediainfo emms-mark-ext emms-mode-line-cycle emms-player-simple-mpv emms-soundcloud emms-state emms-status emoji-cheat-sheet-plus emoji-display emoji-fontset emr enclose encourage-mode enwc epoch-view epresent erc-colorize erc-hl-nicks erc-image erc-nick-notify erc-social-graph erc-terminal-notifier erc-track-score erc-tweet erc-view-log erc-youtube erc-yt ercn eredis erefactor ergoemacs-mode ergoemacs-status ert-async ert-expectations escreen eshell-autojump eshell-did-you-mean eshell-manual eshell-z esqlite-helm ess-R-data-view ess-R-object-popup ess-smart-equals ess-smart-underscore ess-view esup esxml etags-select etags-table eval-in-repl evalator-clojure evil-avy evil-ediff evil-embrace evil-escape evil-exchange evil-extra-operator evil-find-char-pinyin evil-god-state evil-iedit-state evil-indent-plus evil-indent-textobject evil-lisp-state evil-mark-replace evil-mc-extras evil-mu4e evil-org evil-paredit evil-quickscope evil-search-highlight-persist evil-space evil-tabs evil-terminal-cursor-changer evil-tutor evil-visual-mark-mode evil-visualstar eww-lnum exec-path-from-shell express extend-dnd exwm eyedropper f3 f90-interface-browser facebook factlog fancy-battery fancy-narrow fastnav fetch figlet find-things-fast fiplr firefox-controller fireplace firestarter fix-word flappymacs flatland-theme flatui-theme flx-isearch flycheck-checkbashisms flycheck-clangcheck flycheck-clojure flycheck-color-mode-line flycheck-cstyle flycheck-cython flycheck-dialyzer flycheck-dmd-dub flycheck-ghcmod flycheck-google-cpplint flycheck-haskell flycheck-irony flycheck-ledger flycheck-mypy flycheck-nim flycheck-objc-clang flycheck-perl6 flycheck-pkg-config flycheck-protobuf flycheck-pyflakes flycheck-status-emoji flycheck-tcl flycheck-tip flycheck-typescript-tslint flycheck-ycmd flylisp flymake-coffee flymake-cppcheck flymake-css flymake-csslint flymake-elixir flymake-gjshint flymake-go flymake-google-cpplint flymake-haml flymake-haskell-multi flymake-hlint flymake-jshint flymake-jslint flymake-json flymake-less flymake-lua flymake-perlcritic flymake-puppet flymake-python-pyflakes flymake-racket flymake-ruby flymake-rust flymake-sass flymake-shell flymake-yaml flymd flyspell-lazy flyspell-popup fold-dwim-org fold-this font-lock+ font-lock-studio fontawesome foreign-regexp fortpy fortune-cookie framesize free-keys function-args fuzzy-match gandalf-theme gdb-shell geeknote gh-md ghc-imported-from ghci-completion git-annex git-auto-commit-mode git-blame git-command git-draft git-dwim git-gutter-fringe+ git-lens git-messenger gitattributes-mode gitconfig gitconfig-mode github-browse-file github-clone github-issues github-theme gmail-message-mode gnome-c-style gnorb gnugo gnuplot gnuplot-mode gnus-alias gnus-desktop-notify gnus-spotlight gnus-summary-ext go-autocomplete go-complete go-direx go-errcheck go-gopath go-play go-playground-cli go-scratch golden-ratio golint google-c-style google-contacts google-this gopher goto-last-change graphviz-dot-mode grapnel grep+ grep-a-lot grep-o-matic grin grunt guide-key guru-mode hackernews hamburger-menu haskell-emacs haskell-emacs-base haskell-emacs-text haskell-snippets haskell-tab-indent haste haxe-mode headlong helm-R helm-ack helm-ad helm-anything helm-aws helm-backup helm-bbdb helm-bibtexkey helm-bind-key helm-bm helm-bundle-show helm-c-moccur helm-c-yasnippet helm-chrome helm-chronos helm-cider helm-cider-history helm-circe helm-clojuredocs helm-cmd-t helm-codesearch helm-commandlinefu helm-cscope helm-css-scss helm-ctest helm-dash helm-descbinds helm-describe-modes helm-dictionary helm-dired-recent-dirs helm-dirset helm-emmet helm-emms helm-filesets helm-flx helm-flycheck helm-flymake helm-fuzzier helm-fuzzy-find helm-ghc helm-git helm-git-files helm-github-stars helm-gitignore helm-gitlab helm-google helm-growthforecast helm-gtags helm-hatena-bookmark helm-hayoo helm-helm-commands helm-idris helm-img-tiqav helm-ispell helm-itunes helm-j-cheatsheet helm-jstack helm-lobsters helm-ls-hg helm-mode-manager helm-mt helm-nixos-options helm-orgcard helm-package helm-perldoc helm-project-persist helm-pt helm-purpose helm-pydoc helm-rails helm-rb helm-recoll helm-rhythmbox helm-robe helm-rubygems-local helm-rubygems-org helm-sage helm-sheet helm-spotify helm-systemd helm-themes helm-unicode helm-w3m helm-wordnet helm-words heroku hfst-mode hi2 hide-comnt hide-lines hide-region hideshow-org highlight-blocks highlight-chars highlight-cl highlight-current-line highlight-defined highlight-indent-guides highlight-leading-spaces highlight-numbers highlight-parentheses highlight-quoted highlight-stages highlight-symbol highlight-tail highlight-thing highlight-unique-symbol highlight2clipboard hindent hippie-exp-ext hippie-expand-haskell hippie-expand-slime hippie-namespace hipster-theme history historyf hl-anything hl-defined hl-indent hl-sentence hl-sexp hl-spotlight hlinum hookify how-many-lines-in-project howdoi html-check-frag html-script-src html5-schema http-twiddle httpcode httprepl hy-mode hyperbole iasm-mode ibuffer-git ibuffer-projectile ibuffer-tramp ical-pull idea-darkula-theme idle-highlight-mode ido-at-point ido-clever-match ido-complete-space-or-hyphen ido-exit-target ido-gnus ido-grid-mode ido-hacks ido-load-library ido-migemo ido-occasional ido-occur ido-select-window ido-sort-mtime ido-springboard ido-ubiquitous ido-vertical-mode idomenu ignoramus igrep image-archive imenu-anywhere imenus imgur indent-guide initchart intero ioccur ipretty ipython iresize isearch-dabbrev isearch-symbol-at-point isgd iterators ivy-hydra jabber-otr javaimp jdee jedi-direx jekyll-modes jgraph-mode jira jira-markup-mode jquery-doc js-doc js-format js3-mode jscs jsfmt json-rpc jss jst jsx-mode jtags judge-indent jumblr jumpc kanban kanji-mode karma kerl key-combo key-intercept key-seq keymap-utils keyswap keyword-search kill-or-bury-alive kill-ring-search kite kite-mini kivy-mode kotlin-mode kurecolor lambdacalc landmark langtool latest-clojure-libraries latex-extra latex-math-preview latex-pretty-symbols latex-preview-pane launch ldap-mode legalese lex lice link-hint linum-relative lispyscript-mode list-register litable literate-starter-kit live-py-mode llvm-mode lmc load-dir look-dired lorem-ipsum lusty-explorer macro-math macro-utils magic-latex-buffer magit-filenotify magit-find-file magit-gerrit magit-gitflow magit-simple-keys magit-stgit magit-svn magit-topgit magit-tramp make-color manage-minor-mode map-regexp mark-multiple markchars markdown-mac-link markdown-mode+ markdown-preview-eww markdown-preview-mode markdown-toc markdownfmt markup-faces math-symbols matlab-mode maxframe mc-extras mc-jump mediawiki memory-usage metar micgoline midi-kbd minesweeper minibuf-isearch minibuffer-complete-cycle minibuffer-line minimal-session-saver minimap minor-mode-hack mkdown mode-line-debug modeline-char modeline-posn molokai-theme monokai-theme moonscript motion-mode mouse3 moz-controller mpg123 msvc mu4e-alert multi-compile multi-eshell multi-web-mode multicolumn multifiles multishell muse muttrc-mode myers n4js name-this-color nasm-mode nav nav-flash nclip netrunner nhexl-mode nim-mode nix-mode nlinum-relative nodejs-repl notes-mode notmuch-labeler noxml-fold nrepl-eval-sexp-fu nterm num3-mode nyan-mode nyan-prompt o-blog ob-browser ob-http ob-ipython ob-kotlin ob-ml-marklogic ob-php ob-sagemath ob-scala ob-swift ob-translate ob-typescript objc-font-lock occur-x ocodo-svg-modelines offlineimap omn-mode omni-kill omni-quotes omni-scratch omni-tags omniref omnisharp on-parens on-screen oneonone opencl-mode opener openwith operate-on-number org-ac org-alert org-autolist org-board org-bookmark-heading org-bullets org-caldav org-cliplink org-clock-convenience org-clock-csv org-commentary org-context org-dotemacs org-dropbox org-ehtml org-evil org-eww org-fstree org-gnome org-grep org-if org-iv org-jekyll org-jira org-link-travis org-linkany org-mobile-sync org-multiple-keymap org-octopress org-pandoc org-password-manager org-plus-contrib org-present org-preview-html org-projectile org-protocol-jekyll org-readme org-redmine org-ref org-repo-todo org-review org-rtm org-sync org-table-comment org-time-budgets org-toodledo org-tree-slide org-wc org-wunderlist org2blog org2issue org2jekyll orgbox orgtbl-aggregate orgtbl-ascii-plot orgtbl-join orgtbl-show-header origami osc otama other-frame-window outline-magic outlined-elisp-mode ov ox-asciidoc ox-html5slide ox-impress-js ox-trac ox-twiki pabbrev pacmacs pager palette pallet paper-theme paredit-everywhere paredit-menu parse-csv parsec password-generator pastebin pathify paxedit pcap-mode pcmpl-args pcmpl-git pcmpl-pip pcomplete-extension pde peep-dired pep8 perl-completion phi-grep phi-rectangle phi-search-dired phi-search-mc pianobar pinentry plsense-direx plsql point-undo poker pomodoro poporg popup-complete popup-imenu popup-kill-ring powerline-evil prettify-greek pretty-lambdada pretty-mode pretty-sha-path pretty-symbols professional-theme project-explorer projectile-direnv prompt-text punctuality-logger purple-haze-theme pushover px py-import-check py-test pycomplete pycoverage pyde pydoc pydoc-info pyenv-mode-auto pyflakes pyfmt pyimport pyimpsort pylint python-cell python-django python-docstring python-info python-pep8 python-pylint python3-info quack quarter-plane quasi-monochrome-theme quickref quickrun quiet r-autoyas racer rainbow-delimiters rainbow-mode read-aloud readline-complete realgud recompile-on-save rect-mark recursive-narrow register-list rinari rnc-mode rpn-calc rsense rtags ruby-dev ruby-electric ruby-end ruby-factory ruby-guard ruby-hash-syntax ruby-interpolation ruby-refactor ruby-tools rudel runner rustfmt sane-term sauron save-sexp save-visited-files savekill scad-mode scala-mode2 scheme-complete scheme-here scion scpaste scroll-restore scss-mode sed-mode seethru sendto sensitive sentence-highlight sentence-navigation sequential-command servant session sexp-move shackle shell-command shell-current-directory shell-here shell-history shell-split-string shell-toggle shelldoc shelltest-mode shen-mode shift-text shm show-css show-marks shrink-whitespace sicp sift sisu-mode slack slamhound slime-annot slime-clj slime-company slime-ritz smart-comment smart-cursor-color smart-mode-line-powerline-theme smart-region smart-shift smart-tab smart-tabs-mode smart-window smart-yank smartrep smartscan sml-mode smooth-scroll sokoban sos soundcloud soundklaus spacegray-theme spaceline spacemacs-theme sparkline speech-tagger speechd-el splitjoin spray sql-mssql ssh ssh-config-mode ssh-file-modes ssh-tunnels stack-mode stash stream subemacs sublime-themes sublimity sudo-edit sunrise-x-buttons sunrise-x-checkpoints sunrise-x-loop sunrise-x-mirror sunrise-x-modeline sunrise-x-popviewer sunrise-x-tabs sunrise-x-tree sunshine svg svg-clock svg-mode-line-themes swap-buffers swap-regions swiper-helm switch-window swoop sws-mode symon syndicate synonymous synonyms synosaurus syntactic-sugar tabbar-ruler tea-time temp-buffer-browse term+ term+mux tern-context-coloring tex-math-preview textile-mode textmate textmate-to-yas tfs therapy thesaurus thread-dump threes thrift tidy timerfunctions timesheet timp tiny tiny-menu tj-mode tldr tle todotxt todotxt-mode togetherly tracking tracwiki-mode tramp-hdfs tramp-term tramp-theme transcribe transpose-frame transpose-mark trr tuareg tumble tumblesocks turnip twitter twittering-mode typed-clojure-mode typing typing-game typo undohist uni-confusables unicode-emoticons unicode-enbox unicode-escape unicode-fonts unicode-input unicode-troll-stopper unicode-whitespace unidecode unipoint url-shortener urlenc use-package-chords utop uzumaki vc-tfs vdiff vertigo viking-mode virtualenv visible-mark visual-ascii-mode visual-regexp-steroids vkill volatile-highlights volume w3 wand wandbox wcheck-mode wconf weather weather-metno web-mode wget wgrep-ag wgrep-helm which-key whitespace-cleanup-mode wiki-summary window-jump windresize windsize winner-mode-enable winring wolfram wolfram-mode wordnut wordsmith-mode wpuzzle wrap-region writegood-mode writeroom-mode wtf www-synonyms xah-css-mode xah-elisp-mode xah-fly-keys xah-get-thing xah-math-input xah-replace-pairs xahk-mode xclip xcode-mode xkcd xmlunicode xquery-mode xquery-tool xterm-keybinder yari yascroll zenburn-theme zlc zoom-frm zop-to-char zygospore))) | |
'(paradox-automatically-star nil) | |
'(paradox-spinner-type (quote progress-bar)) | |
'(show-paren-mode t) | |
'(smex-history-length 5) | |
'(smex-prompt-string "☢ ") | |
'(tool-bar-mode nil)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment