Skip to content

Instantly share code, notes, and snippets.

@hsnks100
Last active August 11, 2016 17:53
Show Gist options
  • Save hsnks100/f660cb80cfbc6dc8039d81233fa40074 to your computer and use it in GitHub Desktop.
Save hsnks100/f660cb80cfbc6dc8039d81233fa40074 to your computer and use it in GitHub Desktop.
.spacemacs.d
;;; subtle-blue-theme.el --- dark-blue theme
;; Copyright (C) 2001 by Chris McMahan
;; Copyright (C) 2013 by Syohei YOSHIDA
;; Author: Syohei YOSHIDA <[email protected]>
;; URL: https://github.com/emacs-jp/replace-colorthemes
;; Version: 0.01
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;;
;; Port of dark-blue theme from `color-themes'
;;; Code:
(deftheme dark-blue
"dark-blue theme")
(custom-theme-set-faces
'dark-blue
'(default ((t (:background "#537182" :foreground "AntiqueWhite2"))))
'(mouse ((t (:foregound "Grey"))))
'(cursor ((t (:foregound "LightGray"))))
'(border ((t (:foregound "black"))))
'(bbdb-company ((t (:italic t))))
'(bbdb-field-name ((t (:bold t :foreground "MediumAquamarine"))))
'(bbdb-field-value ((t (nil))))
'(bbdb-name ((t (:underline t))))
'(blank-space-face ((t (:background "LightGray"))))
'(blank-tab-face ((t (:background "Wheat" :foreground "DarkSlateGray"))))
'(blue ((t (:foreground "blue"))))
'(bold ((t (:bold t :foreground "MediumAquamarine"))))
'(bold-italic ((t (:italic t :bold t :foreground "SkyBlue"))))
'(border ((t (:background "black"))))
'(border-glyph ((t (nil))))
'(calendar-today-face ((t (:underline t))))
'(comint-highlight-input ((t (:bold t))))
'(comint-highlight-prompt ((t (:foreground "cyan"))))
'(comint-input-face ((t (:foreground "deepskyblue"))))
'(cperl-array-face ((t (:bold t :foreground "Yellow"))))
'(cperl-hash-face ((t (:italic t :bold t :foreground "White"))))
'(cperl-nonoverridable-face ((t (:foreground "SkyBlue"))))
'(cursor ((t (:background "white"))))
'(custom-button-face ((t (:underline t :bold t :foreground "MediumAquaMarine"))))
'(custom-button-pressed-face ((t (:background "lightgrey" :foreground "black"))))
'(custom-changed-face ((t (:background "blue" :foreground "white"))))
'(custom-comment-face ((t (:background "dim gray"))))
'(custom-comment-tag-face ((t (:foreground "gray80"))))
'(custom-documentation-face ((t (:foreground "Grey"))))
'(custom-face-tag-face ((t (:underline t))))
'(custom-group-tag-face ((t (:bold t :foreground "MediumAquamarine"))))
'(custom-group-tag-face-1 ((t (:foreground "MediumAquaMarine"))))
'(custom-invalid-face ((t (:background "red" :foreground "yellow"))))
'(custom-modified-face ((t (:background "blue" :foreground "white"))))
'(custom-rogue-face ((t (:background "black" :foreground "pink"))))
'(custom-saved-face ((t (:underline t))))
'(custom-set-face ((t (:background "white" :foreground "blue"))))
'(custom-state-face ((t (:foreground "yellow"))))
'(custom-variable-button-face ((t (:underline t :bold t))))
'(custom-variable-tag-face ((t (:bold t :foreground "Aquamarine"))))
'(cvs-filename-face ((t (:foreground "blue4"))))
'(cvs-handled-face ((t (:foreground "pink"))))
'(cvs-header-face ((t (:bold t :foreground "blue4"))))
'(cvs-marked-face ((t (:bold t :foreground "green3"))))
'(cvs-msg-face ((t (:italic t))))
'(cvs-need-action-face ((t (:foreground "orange"))))
'(cvs-unknown-face ((t (:foreground "red"))))
'(diary-face ((t (:bold t :foreground "cyan"))))
'(dired-face-boring ((t (:foreground "Gray65"))))
'(dired-face-directory ((t (:bold t :foreground "sky blue"))))
'(dired-face-executable ((t (:foreground "green yellow"))))
'(dired-face-flagged ((t (:foreground "tomato"))))
'(dired-face-marked ((t (:foreground "light salmon"))))
'(dired-face-permissions ((t (:foreground "aquamarine"))))
'(dired-face-setuid ((t (:foreground "Red"))))
'(dired-face-socket ((t (:foreground "magenta"))))
'(dired-face-symlink ((t (:foreground "gray95"))))
'(display-time-mail-balloon-enhance-face ((t (:background "orange"))))
'(display-time-mail-balloon-gnus-group-face ((t (:foreground "blue"))))
'(display-time-time-balloon-face ((t (:foreground "red"))))
'(ecb-sources-face ((t (:foreground "LightBlue1"))))
'(ediff-current-diff-face-A ((t (:background "pale green" :foreground "firebrick"))))
'(ediff-current-diff-face-Ancestor ((t (:background "VioletRed" :foreground "Black"))))
'(ediff-current-diff-face-B ((t (:background "Yellow" :foreground "DarkOrchid"))))
'(ediff-current-diff-face-C ((t (:background "indianred" :foreground "white"))))
'(ediff-even-diff-face-A ((t (:background "light gray" :foreground "Black"))))
'(ediff-even-diff-face-Ancestor ((t (:background "Gray" :foreground "White"))))
'(ediff-even-diff-face-B ((t (:background "Gray" :foreground "White"))))
'(ediff-even-diff-face-C ((t (:background "light gray" :foreground "Black"))))
'(ediff-fine-diff-face-A ((t (:background "sky blue" :foreground "Navy"))))
'(ediff-fine-diff-face-Ancestor ((t (:background "Green" :foreground "Black"))))
'(ediff-fine-diff-face-B ((t (:background "cyan" :foreground "Black"))))
'(ediff-fine-diff-face-C ((t (:background "Turquoise" :foreground "Black"))))
'(ediff-odd-diff-face-A ((t (:background "Gray" :foreground "White"))))
'(ediff-odd-diff-face-Ancestor ((t (:background "light gray" :foreground "Black"))))
'(ediff-odd-diff-face-B ((t (:background "light gray" :foreground "Black"))))
'(ediff-odd-diff-face-C ((t (:background "Gray" :foreground "White"))))
'(erc-action-face ((t (:bold t))))
'(erc-bold-face ((t (:bold t))))
'(erc-default-face ((t (nil))))
'(erc-direct-msg-face ((t (:foreground "LightSalmon"))))
'(erc-error-face ((t (:bold t :foreground "yellow"))))
'(erc-input-face ((t (:foreground "Beige"))))
'(erc-inverse-face ((t (:background "wheat" :foreground "darkslategrey"))))
'(erc-notice-face ((t (:foreground "MediumAquamarine"))))
'(erc-pal-face ((t (:foreground "PaleGreen"))))
'(erc-prompt-face ((t (:foreground "MediumAquamarine"))))
'(erc-underline-face ((t (:underline t))))
'(eshell-ls-archive-face ((t (:bold t :foreground "wheat"))))
'(eshell-ls-backup-face ((t (:foreground "Grey"))))
'(eshell-ls-clutter-face ((t (:bold t :foreground "wheat"))))
'(eshell-ls-directory-face ((t (:bold t :foreground "Yellow"))))
'(eshell-ls-executable-face ((t (:bold t :foreground "wheat"))))
'(eshell-ls-missing-face ((t (:bold t :foreground "wheat"))))
'(eshell-ls-picture-face ((t (:foreground "wheat"))))
'(eshell-ls-product-face ((t (:foreground "wheat"))))
'(eshell-ls-readonly-face ((t (:foreground "wheat"))))
'(eshell-ls-special-face ((t (:bold t :foreground "wheat"))))
'(eshell-ls-symlink-face ((t (:bold t :foreground "White"))))
'(eshell-ls-text-face ((t (:foreground "wheat"))))
'(eshell-ls-todo-face ((t (:foreground "wheat"))))
'(eshell-ls-unreadable-face ((t (:foreground "wheat3"))))
'(eshell-prompt-face ((t (:bold t :foreground "PaleGreen"))))
'(eshell-test-failed-face ((t (:bold t :foreground "OrangeRed"))))
'(eshell-test-ok-face ((t (:bold t :foreground "Green"))))
'(excerpt ((t (:italic t))))
'(ff-paths-non-existant-file-face ((t (:bold t :foreground "NavyBlue"))))
'(fixed ((t (:bold t))))
'(flyspell-duplicate-face ((t (:underline t :bold t :foreground "Gold3"))))
'(flyspell-incorrect-face ((t (:underline t :bold t :foreground "OrangeRed"))))
'(font-latex-italic-face ((t (nil))))
'(font-latex-math-face ((t (nil))))
'(font-latex-sedate-face ((t (:foreground "Gray85"))))
'(font-latex-string-face ((t (:foreground "orange"))))
'(font-latex-warning-face ((t (:foreground "gold"))))
'(font-lock-builtin-face ((t (:foreground "PaleGreen"))))
'(font-lock-comment-face ((t (:italic t :foreground "Gray80"))))
'(font-lock-constant-face ((t (:foreground "LightBlue"))))
'(font-lock-doc-face ((t (:bold t))))
'(font-lock-doc-string-face ((t (:bold t :foreground "DarkSeaGreen"))))
'(font-lock-exit-face ((t (:foreground "green"))))
'(font-lock-function-name-face ((t (:italic t :bold t :foreground "Yellow"))))
'(font-lock-keyword-face ((t (:bold t :foreground "LightBlue"))))
'(font-lock-preprocessor-face ((t (:foreground "blue3"))))
'(font-lock-reference-face ((t (:foreground "PaleGreen"))))
'(font-lock-string-face ((t (:italic t :foreground "DarkSeaGreen"))))
'(font-lock-type-face ((t (:bold t :foreground "YellowGreen"))))
'(font-lock-variable-name-face ((t (:italic t :bold t :foreground "LightBlue"))))
'(font-lock-warning-face ((t (:bold t :foreground "LightSalmon"))))
'(fringe ((t (:background "darkslategrey"))))
'(gnus-cite-attribution-face ((t (:italic t :bold t))))
'(gnus-cite-face-1 ((t (:foreground "LightBlue"))))
'(gnus-cite-face-10 ((t (:foreground "LightBlue"))))
'(gnus-cite-face-11 ((t (:foreground "LightBlue"))))
'(gnus-cite-face-2 ((t (:foreground "LightBlue"))))
'(gnus-cite-face-3 ((t (:foreground "LightBlue"))))
'(gnus-cite-face-4 ((t (:foreground "LightBlue"))))
'(gnus-cite-face-5 ((t (:foreground "LightBlue"))))
'(gnus-cite-face-6 ((t (:foreground "LightBlue"))))
'(gnus-cite-face-7 ((t (:foreground "LightBlue"))))
'(gnus-cite-face-8 ((t (:foreground "LightBlue"))))
'(gnus-cite-face-9 ((t (:foreground "LightBlue"))))
'(gnus-emphasis-bold ((t (:bold t))))
'(gnus-emphasis-bold-italic ((t (:italic t :bold t))))
'(gnus-emphasis-highlight-words ((t (:background "black" :foreground "yellow"))))
'(gnus-emphasis-italic ((t (:italic t))))
'(gnus-emphasis-underline ((t (:underline t))))
'(gnus-emphasis-underline-bold ((t (:underline t :bold t))))
'(gnus-emphasis-underline-bold-italic ((t (:underline t :italic t :bold t))))
'(gnus-emphasis-underline-italic ((t (:underline t :italic t))))
'(gnus-filterhist-face-1 ((t (nil))))
'(gnus-group-mail-1-empty-face ((t (:foreground "gray80"))))
'(gnus-group-mail-1-face ((t (:bold t :foreground "light cyan"))))
'(gnus-group-mail-2-empty-face ((t (:foreground "gray80"))))
'(gnus-group-mail-2-face ((t (:bold t :foreground "turquoise"))))
'(gnus-group-mail-3-empty-face ((t (:foreground "gray80"))))
'(gnus-group-mail-3-face ((t (:bold t :foreground "LightBlue"))))
'(gnus-group-mail-low-empty-face ((t (:foreground "gray80"))))
'(gnus-group-mail-low-face ((t (:bold t :foreground "LightBlue"))))
'(gnus-group-news-1-empty-face ((t (:foreground "gray80"))))
'(gnus-group-news-1-face ((t (:bold t :foreground "green yellow"))))
'(gnus-group-news-2-empty-face ((t (:foreground "gray80"))))
'(gnus-group-news-2-face ((t (:bold t :foreground "Aquamarine"))))
'(gnus-group-news-3-empty-face ((t (:foreground "gray80"))))
'(gnus-group-news-3-face ((t (:bold t :foreground "LightBlue"))))
'(gnus-group-news-4-empty-face ((t (:foreground "gray80"))))
'(gnus-group-news-4-face ((t (:bold t :foreground "Wheat"))))
'(gnus-group-news-5-empty-face ((t (:foreground "gray80"))))
'(gnus-group-news-5-face ((t (:bold t :foreground "MediumAquamarine"))))
'(gnus-group-news-6-empty-face ((t (:foreground "gray80"))))
'(gnus-group-news-6-face ((t (:bold t :foreground "MediumAquamarine"))))
'(gnus-group-news-low-empty-face ((t (:foreground "gray80"))))
'(gnus-group-news-low-face ((t (:bold t :foreground "yellow green"))))
'(gnus-header-content-face ((t (:italic t :foreground "LightSkyBlue3"))))
'(gnus-header-from-face ((t (:bold t :foreground "light cyan"))))
'(gnus-header-name-face ((t (:bold t :foreground "LightBlue"))))
'(gnus-header-newsgroups-face ((t (:italic t :bold t :foreground "LightSkyBlue3"))))
'(gnus-header-subject-face ((t (:bold t :foreground "light cyan"))))
'(gnus-picons-face ((t (:background "white" :foreground "black"))))
'(gnus-picons-xbm-face ((t (:background "white" :foreground "black"))))
'(gnus-signature-face ((t (:italic t :foreground "LightBlue"))))
'(gnus-splash ((t (:foreground "Brown"))))
'(gnus-splash-face ((t (:foreground "LightBlue"))))
'(gnus-summary-cancelled-face ((t (:background "black" :foreground "gray80"))))
'(gnus-summary-high-ancient-face ((t (:bold t :foreground "LightBlue"))))
'(gnus-summary-high-read-face ((t (:bold t :foreground "gray80"))))
'(gnus-summary-high-ticked-face ((t (:bold t :foreground "burlywood"))))
'(gnus-summary-high-unread-face ((t (:italic t :bold t :foreground "wheat"))))
'(gnus-summary-low-ancient-face ((t (:italic t :foreground "LightBlue"))))
'(gnus-summary-low-read-face ((t (:italic t :foreground "light sea green"))))
'(gnus-summary-low-ticked-face ((t (:italic t :bold t :foreground "LightBlue"))))
'(gnus-summary-low-unread-face ((t (:italic t :foreground "light sea green"))))
'(gnus-summary-normal-ancient-face ((t (:foreground "gray80"))))
'(gnus-summary-normal-read-face ((t (:foreground "gray80"))))
'(gnus-summary-normal-ticked-face ((t (:bold t :foreground "sandy brown"))))
'(gnus-summary-normal-unread-face ((t (:bold t :foreground "wheat"))))
'(gnus-summary-selected-face ((t (:underline t))))
'(gnus-x-face ((t (:background "white" :foreground "black"))))
'(green ((t (:foreground "green"))))
'(gui-button-face ((t (:background "DarkSalmon" :foreground "white"))))
'(gui-element ((t (:background "Gray"))))
'(header-line ((t (:background "grey20" :foreground "grey90"))))
'(highlight ((t (:background "PaleGreen" :foreground "DarkGreen"))))
'(highlight-changes-delete-face ((t (:underline t :foreground "red"))))
'(highlight-changes-face ((t (:foreground "red"))))
'(highline-face ((t (:background "SeaGreen"))))
'(holiday-face ((t (:background "DimGray"))))
'(html-helper-bold-face ((t (:foreground "DarkRed"))))
'(html-helper-italic-face ((t (:foreground "DarkBlue"))))
'(html-helper-underline-face ((t (:underline t :foreground "Black"))))
'(html-tag-face ((t (:foreground "Blue"))))
'(info-menu-5 ((t (:underline t))))
'(info-node ((t (:underline t :italic t :bold t :foreground "light blue"))))
'(info-xref ((t (:bold t :foreground "light blue"))))
'(isearch ((t (:background "Aquamarine" :foreground "SteelBlue"))))
'(isearch-lazy-highlight-face ((t (:background "paleturquoise4"))))
'(isearch-secondary ((t (:foreground "red3"))))
'(italic ((t (:italic t))))
'(jde-bug-breakpoint-cursor ((t (:background "brown" :foreground "cyan"))))
'(jde-bug-breakpoint-marker ((t (:background "yellow" :foreground "red"))))
'(jde-java-font-lock-api-face ((t (:foreground "LightBlue"))))
'(jde-java-font-lock-bold-face ((t (:bold t))))
'(jde-java-font-lock-code-face ((t (nil))))
'(jde-java-font-lock-constant-face ((t (:foreground "LightBlue"))))
'(jde-java-font-lock-doc-tag-face ((t (:foreground "LightBlue"))))
'(jde-java-font-lock-italic-face ((t (:italic t))))
'(jde-java-font-lock-link-face ((t (:underline t :foreground "LightBlue"))))
'(jde-java-font-lock-modifier-face ((t (:foreground "LightBlue"))))
'(jde-java-font-lock-number-face ((t (:foreground "LightBlue"))))
'(jde-java-font-lock-package-face ((t (:foreground "LightBlue"))))
'(jde-java-font-lock-pre-face ((t (nil))))
'(jde-java-font-lock-underline-face ((t (:underline t))))
'(lazy-highlight-face ((t (:bold t :foreground "dark magenta"))))
'(left-margin ((t (nil))))
'(linemenu-face ((t (:background "gray30"))))
'(list-mode-item-selected ((t (nil))))
'(makefile-space-face ((t (:background "hotpink"))))
'(menu ((t (:background "wheat" :foreground "gray30"))))
'(message-cited-text-face ((t (:foreground "White"))))
'(message-header-cc-face ((t (:bold t :foreground "light cyan"))))
'(message-header-name-face ((t (:foreground "LightBlue"))))
'(message-header-newsgroups-face ((t (:italic t :bold t :foreground "LightSkyBlue3"))))
'(message-header-other-face ((t (:foreground "LightSkyBlue3"))))
'(message-header-subject-face ((t (:bold t :foreground "light cyan"))))
'(message-header-to-face ((t (:bold t :foreground "light cyan"))))
'(message-header-xheader-face ((t (:foreground "LightBlue"))))
'(message-mml-face ((t (:bold t :foreground "LightBlue"))))
'(message-separator-face ((t (:foreground "LightBlue"))))
'(mmm-default-submode-face ((t (:background "#c0c0c5"))))
'(modeline ((t (:background "#c1ccd9" :foreground "#4f657d"))))
'(modeline-buffer-id ((t (:background "#c1ccd9" :foreground "#4f657d"))))
'(modeline-mousable ((t (:background "#c1ccd9" :foreground "#4f657d"))))
'(modeline-mousable-minor-mode ((t (:background "#c1ccd9" :foreground "#4f657d"))))
'(mouse ((t (:background "Grey"))))
'(my-summary-highlight-face ((t (:foreground "White"))))
'(my-url-face ((t (:foreground "LightBlue"))))
'(nil ((t (nil))))
'(paren-blink-off ((t (:foreground "gray"))))
'(paren-face-match ((t (:background "turquoise"))))
'(paren-face-mismatch ((t (:background "purple" :foreground "white"))))
'(paren-face-no-match ((t (:background "yellow" :foreground "black"))))
'(paren-match ((t (:background "darkseagreen2"))))
'(paren-mismatch ((t (:background "DeepPink" :foreground "black"))))
'(paren-mismatch-face ((t (:bold t))))
'(paren-no-match-face ((t (:bold t))))
'(pointer ((t (nil))))
'(primary-selection ((t (:background "gray65"))))
'(red ((t (:foreground "red"))))
'(region ((t (:background "PaleTurquoise4" :foreground "gray80"))))
'(right-margin ((t (nil))))
'(scroll-bar ((t (nil))))
'(secondary-selection ((t (:background "sea green" :foreground "yellow"))))
'(semantic-dirty-token-face ((t (:background "gray10"))))
'(semantic-intangible-face ((t (:foreground "gray25"))))
'(semantic-read-only-face ((t (:background "gray25"))))
'(senator-intangible-face ((t (:foreground "gray75"))))
'(senator-momentary-highlight-face ((t (:background "gray80"))))
'(senator-read-only-face ((t (:background "#664444"))))
'(sgml-comment-face ((t (:foreground "dark turquoise"))))
'(sgml-doctype-face ((t (:foreground "red"))))
'(sgml-end-tag-face ((t (:foreground "blue"))))
'(sgml-entity-face ((t (:foreground "magenta"))))
'(sgml-ignored-face ((t (:background "gray60" :foreground "gray40"))))
'(sgml-ms-end-face ((t (:foreground "green"))))
'(sgml-ms-start-face ((t (:foreground "yellow"))))
'(sgml-pi-face ((t (:foreground "lime green"))))
'(sgml-sgml-face ((t (:foreground "brown"))))
'(sgml-short-ref-face ((t (:foreground "deep sky blue"))))
'(sgml-start-tag-face ((t (:foreground "dark green"))))
'(shell-option-face ((t (:foreground "blue"))))
'(shell-output-2-face ((t (:foreground "darkseagreen"))))
'(shell-output-3-face ((t (:foreground "slategray"))))
'(shell-output-face ((t (:foreground "palegreen"))))
'(shell-prompt-face ((t (:foreground "red"))))
'(show-paren-match-face ((t (:background "Aquamarine" :foreground "steel blue"))))
'(show-paren-mismatch-face ((t (:bold t :background "IndianRed" :foreground "White"))))
'(speedbar-button-face ((t (:bold t :foreground "LightBlue"))))
'(speedbar-directory-face ((t (:bold t :foreground "yellow"))))
'(speedbar-file-face ((t (:bold t :foreground "wheat"))))
'(speedbar-highlight-face ((t (:background "sea green"))))
'(speedbar-selected-face ((t (:underline t))))
'(speedbar-tag-face ((t (:foreground "LightBlue"))))
'(swbuff-current-buffer-face ((t (:bold t :foreground "red"))))
'(template-message-face ((t (:bold t))))
'(term-black ((t (:foreground "black"))))
'(term-blackbg ((t (:background "black"))))
'(term-blue ((t (:foreground "blue"))))
'(term-bluebg ((t (:background "blue"))))
'(term-bold ((t (:bold t))))
'(term-cyan ((t (:foreground "cyan"))))
'(term-cyanbg ((t (:background "cyan"))))
'(term-default-bg ((t (nil))))
'(term-default-bg-inv ((t (nil))))
'(term-default-fg ((t (nil))))
'(term-default-fg-inv ((t (nil))))
'(term-green ((t (:foreground "green"))))
'(term-greenbg ((t (:background "green"))))
'(term-invisible ((t (nil))))
'(term-invisible-inv ((t (nil))))
'(term-magenta ((t (:foreground "magenta"))))
'(term-magentabg ((t (:background "magenta"))))
'(term-red ((t (:foreground "red"))))
'(term-redbg ((t (:background "red"))))
'(term-underline ((t (:underline t))))
'(term-white ((t (:foreground "white"))))
'(term-whitebg ((t (:background "white"))))
'(term-yellow ((t (:foreground "yellow"))))
'(term-yellowbg ((t (:background "yellow"))))
'(text-cursor ((t (:background "Red3" :foreground "white"))))
'(tool-bar ((t (:background "grey75" :foreground "black"))))
'(toolbar ((t (:background "Gray"))))
'(trailing-whitespace ((t (:background "red"))))
'(underline ((t (:underline t))))
'(variable-pitch ((t (nil))))
'(vc-annotate-face-0046FF ((t (:background "black" :foreground "wheat"))))
'(vcursor ((t (:underline t :background "cyan" :foreground "blue"))))
'(vertical-divider ((t (:background "Gray"))))
'(vhdl-font-lock-attribute-face ((t (:foreground "Orchid"))))
'(vhdl-font-lock-directive-face ((t (:foreground "CadetBlue"))))
'(vhdl-font-lock-enumvalue-face ((t (:foreground "Gold4"))))
'(vhdl-font-lock-function-face ((t (:foreground "Orchid4"))))
'(vhdl-font-lock-prompt-face ((t (:bold t :foreground "Red"))))
'(vhdl-font-lock-reserved-words-face ((t (:bold t :foreground "Orange"))))
'(vhdl-font-lock-translate-off-face ((t (:background "LightGray"))))
'(vhdl-speedbar-architecture-face ((t (:foreground "Blue"))))
'(vhdl-speedbar-architecture-selected-face ((t (:underline t :foreground "Blue"))))
'(vhdl-speedbar-configuration-face ((t (:foreground "DarkGoldenrod"))))
'(vhdl-speedbar-configuration-selected-face ((t (:underline t :foreground "DarkGoldenrod"))))
'(vhdl-speedbar-entity-face ((t (:foreground "ForestGreen"))))
'(vhdl-speedbar-entity-selected-face ((t (:underline t :foreground "ForestGreen"))))
'(vhdl-speedbar-instantiation-face ((t (:foreground "Brown"))))
'(vhdl-speedbar-instantiation-selected-face ((t (:underline t :foreground "Brown"))))
'(vhdl-speedbar-package-face ((t (:foreground "Gray50"))))
'(vhdl-speedbar-package-selected-face ((t (:underline t :foreground "Gray50"))))
'(viper-minibuffer-emacs-face ((t (:background "darkseagreen2" :foreground "Black"))))
'(viper-minibuffer-insert-face ((t (:background "pink" :foreground "Black"))))
'(viper-minibuffer-vi-face ((t (:background "gray" :foreground "DarkGreen"))))
'(viper-replace-overlay-face ((t (:background "darkseagreen2" :foreground "Black"))))
'(viper-search-face ((t (:background "khaki" :foreground "Black"))))
'(vm-header-content-face ((t (:italic t :foreground "wheat"))))
'(vm-header-from-face ((t (:italic t :foreground "wheat"))))
'(vm-header-name-face ((t (:foreground "cyan"))))
'(vm-header-subject-face ((t (:foreground "cyan"))))
'(vm-header-to-face ((t (:italic t :foreground "cyan"))))
'(vm-message-cited-face ((t (:foreground "Gray80"))))
'(vm-summary-face-1 ((t (:foreground "MediumAquamarine"))))
'(vm-summary-face-2 ((t (:foreground "MediumAquamarine"))))
'(vm-summary-face-3 ((t (:foreground "MediumAquamarine"))))
'(vm-summary-face-4 ((t (:foreground "MediumAquamarine"))))
'(vm-summary-highlight-face ((t (:foreground "White"))))
'(vmpc-pre-sig-face ((t (:foreground "Aquamarine"))))
'(vmpc-sig-face ((t (:foreground "LightBlue"))))
'(vvb-face ((t (:background "pink" :foreground "black"))))
'(widget-button-face ((t (:bold t))))
'(widget-button-pressed-face ((t (:foreground "red"))))
'(widget-documentation-face ((t (:foreground "LightBlue"))))
'(widget-field-face ((t (:foreground "LightBlue"))))
'(widget-inactive-face ((t (:foreground "Wheat3"))))
'(widget-single-line-field-face ((t (:foreground "LightBlue"))))
'(woman-bold-face ((t (:bold t))))
'(woman-italic-face ((t (:foreground "beige"))))
'(woman-unknown-face ((t (:foreground "LightSalmon"))))
'(xref-keyword-face ((t (:foreground "blue"))))
'(xref-list-pilot-face ((t (:foreground "navy"))))
'(xref-list-symbol-face ((t (:foreground "navy"))))
'(xxml-emph-1-face ((t (:background "lightyellow"))))
'(xxml-emph-2-face ((t (:background "lightyellow"))))
'(xxml-header-1-face ((t (:background "seashell1" :foreground "MediumAquamarine"))))
'(xxml-header-2-face ((t (:background "seashell1" :foreground "SkyBlue"))))
'(xxml-header-3-face ((t (:background "seashell1"))))
'(xxml-header-4-face ((t (:background "seashell1"))))
'(xxml-interaction-face ((t (:background "lightcyan"))))
'(xxml-rug-face ((t (:background "cyan"))))
'(xxml-sparkle-face ((t (:background "yellow"))))
'(xxml-unbreakable-space-face ((t (:underline t :foreground "grey"))))
'(yellow ((t (:foreground "yellow"))))
'(zmacs-region ((t (:background "SlateGray")))))
;;;###autoload
(when load-file-name
(add-to-list 'custom-theme-load-path
(file-name-as-directory (file-name-directory load-file-name))))
(provide-theme 'dark-blue)
;;; dark-blue-theme.el ends here
;;; ftp-file-upload.el ---
;; url: http://juangarcia.890m.com/files/ftp-file-upload.el
;; ---------------------------------------------------------------------- ;;
(require 'ftp-wrappers)
;; ---------------------------------------------------------------------- ;;
;; (defconst *ftp-HOME* "c:/home/juang/")
;; (defconst *ftp-WEB* (concat *ftp-HOME* "website/"))
(defconst *ftp-location-map*
(list
(list "/home/ksoo/websites/pixijanggi" "/mindjanggi")
))
(defconst *ftp-upload-skip-prompt* "Skip the ftp prompt")
;; ---------------------------------------------------------------------- ;;
(defun ftp-upload-file (from)
(let ((to from))
(dolist (tuple *ftp-location-map*)
(let ((regex (car tuple))
(replace (cadr tuple)))
(when (string-match (concat "^" regex) to)
(setq to (replace-match replace t t to)))))
(if (or *ftp-upload-skip-prompt*
(y-or-n-p (format "Query: Upload %s to %s ? " from to)))
(ftp-copy-file from to)
(message "Info: upload %s to %s aborted" from to))))
(defun ftp-upload-current-file ()
(interactive)
(ftp-upload-file (expand-file-name (buffer-file-name))))
;; (global-set-key [f9] 'ftp-upload-current-file)
;; ---------------------------------------------------------------------- ;;
(provide 'ftp-file-upload)
;; ---------------------------------------------------------------------- ;;
(add-hook
'after-save-hook
(lambda ()
(dolist (tuple *ftp-location-map*)
(when (string-match (concat "^" (car tuple) "/*") (buffer-file-name))
(ftp-upload-current-file))
(message (car tuple))
)
)
)
;;; 50ftp.el ---
;; Copyright (C) 2008 S.P.Tseng
;; Author: S.P.Tseng <[email protected]>
;; url: http://juangarcia.890m.com/files/ftp-wrappers.el
;; ---------------------------------------------------------------------- ;;
(require 'ange-ftp)
(defconst *ftp-max-timeout* 100)
(defvar *ftp-process* nil)
(defvar *ftp-last-action* 0)
(defvar *ftp-user* "user0000")
(defvar *ftp-host* "59.11.22.33")
(defvar *ftp-password* "password")
(setq ange-ftp-ftp-program-name "ftp")
(ange-ftp-set-passwd *ftp-host* *ftp-user* *ftp-password*)
;; (ftp-connect *ftp-host* *ftp-user*)
;; ---------------------------------------------------------------------- ;;
(defun ftp-has-timed-out-p ()
(> (- (time-to-seconds (current-time)) *ftp-last-action*)
*ftp-max-timeout*))
(defun ftp-set-last-action ()
(setq *ftp-last-action* (time-to-seconds (current-time))))
(defun ftp-connected-p (proc)
(and proc
(equal (process-status proc) 'run)
(ftp-has-timed-out-p)))
(defun ftp-kill-process (host user proc)
(when (ftp-connected-p proc)
(kill-process proc)
(setq proc nil)
(set-buffer (get-buffer (ange-ftp-ftp-process-buffer host user)))
(insert "\nTerminated"))
nil)
(defun ftp-connect (host user)
(when (ftp-has-timed-out-p)
(ftp-kill-process host user *ftp-process*)
(sit-for 0)
(sleep-for 1))
(when (not (ftp-connected-p *ftp-process*))
(setq *ftp-process*
(ange-ftp-get-process host user))
(ange-ftp-set-binary-mode host user)
(ftp-set-last-action))
*ftp-process*)
(defun ftp-raw-send-cmd-wrapper (cmd)
(let ((proc (ftp-connect *ftp-host* *ftp-user*)))
(ange-ftp-raw-send-cmd proc cmd)
(ftp-set-last-action))
t)
;; (ftp-raw-send-cmd-wrapper "dir .emacs")
(defun ftp-copy-file (from to)
(ftp-raw-send-cmd-wrapper
(format "put %s %s" (expand-file-name from) to)))
(defun ftp-mkdir (dir)
(ftp-raw-send-cmd-wrapper (format "mkdir %s" dir)))
(defun ftp-get-filename ()
(let* ((f (expand-file-name (buffer-file-name (current-buffer))))
(p (split-string f "/")))
(nthcdr (- (length p) 2) p)))
;; ---------------------------------------------------------------------- ;;
(provide 'ftp-wrappers)
;; ---------------------------------------------------------------------- ;;
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(add-to-list 'custom-theme-load-path "~/.spacemacs.d")
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
;; `+distribution'. For now available distributions are `spacemacs-base'
;; or `spacemacs'. (default 'spacemacs)
dotspacemacs-distribution 'spacemacs
;; List of additional paths where to look for configuration layers.
;; Paths must have a trailing slash (i.e. `~/.mycontribs/')
dotspacemacs-configuration-layer-path '()
;; List of configuration layers to load. If it is the symbol `all' instead
;; of a list then all discovered layers will be installed.
dotspacemacs-configuration-layers
'(
;; ----------------------------------------------------------------
;; Example of useful layers you may want to use right away.
;; Uncomment some layer names and press <SPC f e R> (Vim style) or
;; <M-m f e R> (Emacs style) to install them.
;; ----------------------------------------------------------------
;; auto-completion
;; better-defaults
emacs-lisp
;; git
;; markdown
;; org
;; (shell :variables
;; shell-default-height 30
;; shell-default-position 'bottom)
;; spell-checking
;; syntax-checking
;; version-control
(auto-completion :variables
auto-completion-return-key-behavior 'complete
auto-completion-tab-key-behavior 'cycle
auto-completion-complete-with-key-sequence nil
auto-completion-complete-with-key-sequence-delay 0.01
)
)
;; List of additional packages that will be installed without being
;; wrapped in a layer. If you need some configuration for these
;; packages, then consider creating a layer. You can also put the
;; configuration in `dotspacemacs/user-config'.
dotspacemacs-additional-packages '(
neotree
tabbar
jade-mode
key-chord
comment-dwim-2
)
;; A list of packages and/or extensions that will not be install and loaded.
dotspacemacs-excluded-packages '(
smartparens
company
)
;; If non-nil spacemacs will delete any orphan packages, i.e. packages that
;; are declared in a layer which is not a member of
;; the list `dotspacemacs-configuration-layers'. (default t)
dotspacemacs-delete-orphan-packages t))
(defun dotspacemacs/init ()
"Initialization function.
This function is called at the very startup of Spacemacs initialization
before layers configuration.
You should not put any user code in there besides modifying the variable
values."
;; This setq-default sexp is an exhaustive list of all the supported
;; spacemacs settings.
(setq-default
;; If non nil ELPA repositories are contacted via HTTPS whenever it's
;; possible. Set it to nil if you have no way to use HTTPS in your
;; environment, otherwise it is strongly recommended to let it set to t.
;; This variable has no effect if Emacs is launched with the parameter
;; `--insecure' which forces the value of this variable to nil.
;; (default t)
dotspacemacs-elpa-https t
;; Maximum allowed time in seconds to contact an ELPA repository.
dotspacemacs-elpa-timeout 5
;; If non nil then spacemacs will check for updates at startup
;; when the current branch is not `develop'. (default t)
dotspacemacs-check-for-update t
;; One of `vim', `emacs' or `hybrid'. Evil is always enabled but if the
;; variable is `emacs' then the `holy-mode' is enabled at startup. `hybrid'
;; uses emacs key bindings for vim's insert mode, but otherwise leaves evil
;; unchanged. (default 'vim)
dotspacemacs-editing-style 'vim
;; If non nil output loading progress in `*Messages*' buffer. (default nil)
dotspacemacs-verbose-loading nil
;; Specify the startup banner. Default value is `official', it displays
;; the official spacemacs logo. An integer value is the index of text
;; banner, `random' chooses a random text banner in `core/banners'
;; directory. A string value must be a path to an image format supported
;; by your Emacs build.
;; If the value is nil then no banner is displayed. (default 'official)
dotspacemacs-startup-banner 'official
;; List of items to show in the startup buffer. If nil it is disabled.
;; Possible values are: `recents' `bookmarks' `projects'.
;; (default '(recents projects))
dotspacemacs-startup-lists '(recents projects)
;; Number of recent files to show in the startup buffer. Ignored if
;; `dotspacemacs-startup-lists' doesn't include `recents'. (default 5)
dotspacemacs-startup-recent-list-size 5
;; Default major mode of the scratch buffer (default `text-mode')
dotspacemacs-scratch-mode 'text-mode
;; List of themes, the first of the list is loaded when spacemacs starts.
;; Press <SPC> T n to cycle to the next theme in the list (works great
;; with 2 themes variants, one dark and one light)
dotspacemacs-themes '(
zenburn
dark-blue
)
;; If non nil the cursor color matches the state color in GUI Emacs.
dotspacemacs-colorize-cursor-according-to-state t
;; Default font. `powerline-scale' allows to quickly tweak the mode-line
;; size to make separators look not too crappy.
dotspacemacs-default-font '("Source Code Pro"
:size 13
:weight normal
:width normal
:powerline-scale 1.1)
;; The leader key
dotspacemacs-leader-key "SPC"
;; The leader key accessible in `emacs state' and `insert state'
;; (default "M-m")
dotspacemacs-emacs-leader-key "M-m"
;; Major mode leader key is a shortcut key which is the equivalent of
;; pressing `<leader> m`. Set it to `nil` to disable it. (default ",")
dotspacemacs-major-mode-leader-key ","
;; Major mode leader key accessible in `emacs state' and `insert state'.
;; (default "C-M-m)
dotspacemacs-major-mode-emacs-leader-key "C-M-m"
;; These variables control whether separate commands are bound in the GUI to
;; the key pairs C-i, TAB and C-m, RET.
;; Setting it to a non-nil value, allows for separate commands under <C-i>
;; and TAB or <C-m> and RET.
;; In the terminal, these pairs are generally indistinguishable, so this only
;; works in the GUI. (default nil)
dotspacemacs-distinguish-gui-tab nil
;; (Not implemented) dotspacemacs-distinguish-gui-ret nil
;; The command key used for Evil commands (ex-commands) and
;; Emacs commands (M-x).
;; By default the command key is `:' so ex-commands are executed like in Vim
;; with `:' and Emacs commands are executed with `<leader> :'.
dotspacemacs-command-key ":"
;; If non nil `Y' is remapped to `y$'. (default t)
dotspacemacs-remap-Y-to-y$ t
;; Name of the default layout (default "Default")
dotspacemacs-default-layout-name "Default"
;; If non nil the default layout name is displayed in the mode-line.
;; (default nil)
dotspacemacs-display-default-layout nil
;; If non nil then the last auto saved layouts are resume automatically upon
;; start. (default nil)
dotspacemacs-auto-resume-layouts nil
;; Location where to auto-save files. Possible values are `original' to
;; auto-save the file in-place, `cache' to auto-save the file to another
;; file stored in the cache directory and `nil' to disable auto-saving.
;; (default 'cache)
dotspacemacs-auto-save-file-location 'cache
;; Maximum number of rollback slots to keep in the cache. (default 5)
dotspacemacs-max-rollback-slots 5
;; If non nil then `ido' replaces `helm' for some commands. For now only
;; `find-files' (SPC f f), `find-spacemacs-file' (SPC f e s), and
;; `find-contrib-file' (SPC f e c) are replaced. (default nil)
dotspacemacs-use-ido nil
;; If non nil, `helm' will try to minimize the space it uses. (default nil)
dotspacemacs-helm-resize nil
;; if non nil, the helm header is hidden when there is only one source.
;; (default nil)
dotspacemacs-helm-no-header nil
;; define the position to display `helm', options are `bottom', `top',
;; `left', or `right'. (default 'bottom)
dotspacemacs-helm-position 'bottom
;; If non nil the paste micro-state is enabled. When enabled pressing `p`
;; several times cycle between the kill ring content. (default nil)
dotspacemacs-enable-paste-micro-state nil
;; Which-key delay in seconds. The which-key buffer is the popup listing
;; the commands bound to the current keystroke sequence. (default 0.4)
dotspacemacs-which-key-delay 0.4
;; Which-key frame position. Possible values are `right', `bottom' and
;; `right-then-bottom'. right-then-bottom tries to display the frame to the
;; right; if there is insufficient space it displays it at the bottom.
;; (default 'bottom)
dotspacemacs-which-key-position 'bottom
;; If non nil a progress bar is displayed when spacemacs is loading. This
;; may increase the boot time on some systems and emacs builds, set it to
;; nil to boost the loading time. (default t)
dotspacemacs-loading-progress-bar t
;; If non nil the frame is fullscreen when Emacs starts up. (default nil)
;; (Emacs 24.4+ only)
dotspacemacs-fullscreen-at-startup nil
;; If non nil `spacemacs/toggle-fullscreen' will not use native fullscreen.
;; Use to disable fullscreen animations in OSX. (default nil)
dotspacemacs-fullscreen-use-non-native nil
;; If non nil the frame is maximized when Emacs starts up.
;; Takes effect only if `dotspacemacs-fullscreen-at-startup' is nil.
;; (default nil) (Emacs 24.4+ only)
dotspacemacs-maximized-at-startup nil
;; A value from the range (0..100), in increasing opacity, which describes
;; the transparency level of a frame when it's active or selected.
;; Transparency can be toggled through `toggle-transparency'. (default 90)
dotspacemacs-active-transparency 90
;; A value from the range (0..100), in increasing opacity, which describes
;; the transparency level of a frame when it's inactive or deselected.
;; Transparency can be toggled through `toggle-transparency'. (default 90)
dotspacemacs-inactive-transparency 90
;; If non nil unicode symbols are displayed in the mode line. (default t)
dotspacemacs-mode-line-unicode-symbols t
;; If non nil smooth scrolling (native-scrolling) is enabled. Smooth
;; scrolling overrides the default behavior of Emacs which recenters the
;; point when it reaches the top or bottom of the screen. (default t)
dotspacemacs-smooth-scrolling t
;; If non nil line numbers are turned on in all `prog-mode' and `text-mode'
;; derivatives. If set to `relative', also turns on relative line numbers.
;; (default nil)
dotspacemacs-line-numbers nil
;; If non-nil smartparens-strict-mode will be enabled in programming modes.
;; (default nil)
dotspacemacs-smartparens-strict-mode nil
;; Select a scope to highlight delimiters. Possible values are `any',
;; `current', `all' or `nil'. Default is `all' (highlight any scope and
;; emphasis the current one). (default 'all)
dotspacemacs-highlight-delimiters 'all
;; If non nil advises quit functions to keep server open when quitting.
;; (default nil)
dotspacemacs-persistent-server nil
;; List of search tool executable names. Spacemacs uses the first installed
;; tool of the list. Supported tools are `ag', `pt', `ack' and `grep'.
;; (default '("ag" "pt" "ack" "grep"))
dotspacemacs-search-tools '("ag" "pt" "ack" "grep")
;; The default package repository used if no explicit repository has been
;; specified with an installed package.
;; Not used for now. (default nil)
dotspacemacs-default-package-repository nil
;; Delete whitespace while saving buffer. Possible values are `all'
;; to aggressively delete empty line and long sequences of whitespace,
;; `trailing' to delete only the whitespace at end of lines, `changed'to
;; delete only whitespace for changed lines or `nil' to disable cleanup.
;; (default nil)
dotspacemacs-whitespace-cleanup nil
))
(defun dotspacemacs/user-init ()
"Initialization function for user code.
It is called immediately after `dotspacemacs/init', before layer configuration
executes.
This function is mostly useful for variables that need to be set
before packages are loaded. If you are unsure, you should try in setting them in
`dotspacemacs/user-config' first."
(add-to-list 'custom-theme-load-path "~/.spacemacs.d")
;; (add-to-list 'load-path "~/.spacemacs.d")
)
(defun dotspacemacs/user-config ()
"Configuration function for user code.
This function is called at the very end of Spacemacs initialization after
layers configuration.
This is the place where most of your configurations should be done. Unless it is
explicitly specified that a variable should be set before a package is loaded,
you should place your code here."
(use-package neotree :ensure t)
(use-package key-chord :ensure t)
(use-package jade-mode :ensure t)
(use-package comment-dwim-2 :ensure t)
;; (use-package auto-complete :ensure t)
(neotree)
(neotree-hidden-file-toggle)
(tabbar-mode)
(global-unset-key (kbd "S-SPC"))
(global-unset-key (kbd "C-w"))
(global-set-key (kbd "C-w l") 'windmove-right)
(global-set-key (kbd "C-w h") 'windmove-left)
(global-set-key (kbd "C-w C-q") 'delete-window)
(global-linum-mode t)
(global-auto-complete-mode t)
(define-key ac-complete-mode-map "\C-n" 'ac-next)
(define-key ac-complete-mode-map "\C-p" 'ac-previous)
;; (define-key ac-completing-map (kbd "C-n") 'ac-next)
;; (define-key ac-completing-map (kbd "C-p") 'ac-previous)
;; (global-auto-complete-mode)
;; (global-
(set-frame-font "나눔고딕코딩-14:bold" t t)
(disable-theme 'zenburn)
(load-theme 'word-perfect)
(defun xftp (&optional frame)
"Return t if FRAME support XFT font backend."
(let ((xft-supported))
(mapc (lambda (x) (if (eq x 'xft) (setq xft-supported t)))
(frame-parameter frame 'font-backend))
xft-supported))
(when (xftp)
(let ((fontset "fontset-default"))
;; (set-default-font "Terminus 10")
;; (set-face-font 'default "Terminus 10")
;; (set-fontset-font fontset 'latin
;; '("NanumGothicCoding" . "unicode-bmp"))
(set-fontset-font fontset 'hangul
'("나눔고딕코딩" . "unicode-bmp"))
))
;; tabbar
(use-package tabbar :ensure t)
(defun my-tabbar-buffer-groups () ;; customize to show all normal files in one group
"Returns the name of the tab group names the current buffer belongs to.
There are two groups: Emacs buffers (those whose name starts with '*', plus
dired buffers), and the rest. This works at least with Emacs v24.2 using
tabbar.el v1.7."
(list (cond ((string-equal "*" (substring (buffer-name) 0 1)) "emacs")
((eq major-mode 'dired-mode) "emacs")
(t "user"))))
(setq tabbar-buffer-groups-function 'my-tabbar-buffer-groups)
(global-set-key (kbd "C-k") 'tabbar-backward)
(global-set-key (kbd "C-j") 'tabbar-forward)
(global-set-key (kbd "M-;") 'comment-dwim-2) ;
(add-hook 'c++-mode-hook (lambda()
(c-set-style "k&r")
(setq default-tab-width 2)
(setq c-basic-offset 2) ;; indent use only 2 blank
(setq indent-tabs-mode nil) ;; no tab
))
(scroll-bar-mode)
(define-key evil-normal-state-map "_" 'comment-region)
(set-language-environment "UTF-8")
(setq-default file-name-coding-system 'utf-8)
(setq default-input-method "korean-hangul390")
(setq default-korean-keyboard "390")
(global-set-key (kbd "<Hangul>") 'toggle-korean-input-method);
;; (global-set-key (kbd "_") 'tabbar-forward)
(key-chord-mode 1)
(key-chord-define evil-insert-state-map "jj" 'evil-normal-state)
(key-chord-define evil-insert-state-map "kk" 'evil-normal-state) ;
(define-key key-translation-map (kbd "ESC") (kbd "C-g"))
(define-key key-translation-map (kbd "C-<escape>") (kbd "ESC")) ;; C-esc 를 ᅟ통해 ESC Prefix 를 살려둠...ㅎ
;; (define-keys evil-normal-state-map
;; (", d" #'kill-this-buffer)
;; )
;; (after 'evil
;; )
;; (define-key evil-normal-state-map
;; (define-key evil-normal-state-map "" 'kill-this-buffer)
(defun evil-paste-after-from-0 ()
(interactive)
(let ((evil-this-register ?0))
(call-interactively 'evil-paste-after)))
(define-key evil-visual-state-map "p" 'evil-paste-after-from-0)
(define-key evil-insert-state-map (kbd "C-v") 'x-clipboard-yank)
(setq x-select-enable-clipboard nil)
(add-to-load-path "~/.spacemacs.d")
;; icpc 용 컴파일
(global-set-key (kbd "C-S-b") (lambda()
(interactive)
(compile (concat "g++ " (buffer-file-name) " -o " (file-name-base) " -std=c++11"))
) )
(global-set-key (kbd "C-<f5>") (lambda()
(interactive)
(compile (concat "./" (file-name-base) " <input.txt"))
))
(require 'ftp-file-upload)
)
(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.
'(custom-safe-themes
(quote
("cee46dcb69fb7b65c7ff2388fa01b41e11b9aa486c119d053faaa809473d5eca" "fa2b58bb98b62c3b8cf3b6f02f058ef7827a8e497125de0254f56e373abee088" "cdbd0a803de328a4986659d799659939d13ec01da1f482d838b68038c1bb35e8" "f01c338c47894a1bea1f1dbd8254d749818dcd977b17f0efeca9a8648b079543" default))))
(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.
'(company-tooltip-common ((t (:inherit company-tooltip :weight bold :underline nil))))
'(company-tooltip-common-selection ((t (:inherit company-tooltip-selection :weight bold :underline nil)))))
;;; word-perfect-theme.el --- word-perfect theme
;; Copyright (C) 2001 by Thomas Gehrlein
;; Copyright (C) 2013 by Syohei YOSHIDA
;; Author: Syohei YOSHIDA &lt;[email protected]&gt;
;; URL: https://github.com/emacs-jp/replace-colorthemes
;; Version: 0.01
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see &lt;http://www.gnu.org/licenses/&gt;.
;;; Commentary:
;;
;; Port of word-perfect theme from `color-themes'
;;; Code:
(deftheme word-perfect
"word-perfect theme")
(custom-theme-set-faces
'word-perfect
'(default ((t (:background "blue4" :foreground "white"))))
'(mouse ((t (:foregound "black"))))
'(cursor ((t (:foregound "gold"))))
'(border ((t (:foregound "black"))))
'(ecb-source-in-directories-buffer-face ((t (:foreground "LightBlue1"))))
'(gnus-mouse-face ((t (:background "steel blue" :foreground "black"))))
'(goto-address-mail-face ((t (:italic t :foreground "yellow2"))))
'(goto-address-mail-mouse-face ((t (:background "yellow2" :foreground "black"))))
'(goto-address-url-face ((t (:bold t :foreground "white"))))
'(goto-address-url-mouse-face ((t (:background "steel blue" :foreground "black"))))
'(list-matching-lines-face ((t (:bold t :foreground "white"))))
'(view-highlight-face ((t (:background "steel blue" :foreground "black"))))
'(bbdb-field-name ((t (:foreground "lime green"))))
'(bbdb-field-value ((t (:foreground "white"))))
'(bbdb-name ((t (:underline t :foreground "lime green"))))
'(bold ((t (:bold t :foreground "white"))))
'(bold-italic ((t (:italic t :bold t :foreground "yellow"))))
'(calendar-today-face ((t (:underline t :foreground "deep sky blue"))))
'(diary-face ((t (:foreground "gold"))))
'(ecb-sources-face ((t (:foreground "LightBlue1"))))
'(edb-inter-field-face ((t (:foreground "deep sky blue"))))
'(edb-normal-summary-face ((t (:foreground "gold"))))
'(emacs-wiki-bad-link-face ((t (:underline "coral" :bold t :foreground "coral"))))
'(emacs-wiki-link-face ((t (:underline "cyan" :bold t :foreground "cyan"))))
'(font-lock-builtin-face ((t (:foreground "LightSteelBlue"))))
'(font-lock-comment-face ((t (:foreground "deep sky blue"))))
'(font-lock-constant-face ((t (:foreground "lime green"))))
'(font-lock-doc-face ((t (:foreground "gold"))))
'(font-lock-doc-string-face ((t (:foreground "gold"))))
'(font-lock-function-name-face ((t (:background "blue4" :foreground "IndianRed"))))
'(font-lock-keyword-face ((t (:foreground "lime green"))))
'(font-lock-preprocessor-face ((t (:foreground "lime green"))))
'(font-lock-reference-face ((t (:foreground "LightSteelBlue"))))
'(font-lock-string-face ((t (:foreground "gold"))))
'(font-lock-type-face ((t (:foreground "lime green"))))
'(font-lock-variable-name-face ((t (:foreground "LightGoldenrod"))))
'(font-lock-warning-face ((t (:bold t :foreground "firebrick"))))
'(gnus-emphasis-bold ((t (:foreground "yellow2"))))
'(gnus-emphasis-bold-italic ((t (:foreground "yellow2"))))
'(gnus-emphasis-italic ((t (:foreground "yellow2"))))
'(gnus-emphasis-underline ((t (:foreground "yellow2"))))
'(gnus-emphasis-underline-bold ((t (:foreground "yellow2"))))
'(gnus-emphasis-underline-bold-italic ((t (:foreground "yellow2"))))
'(gnus-emphasis-underline-italic ((t (:foreground "yellow2"))))
'(gnus-group-mail-1-empty-face ((t (:foreground "aquamarine1"))))
'(gnus-group-mail-1-face ((t (:bold t :foreground "aquamarine1"))))
'(gnus-group-mail-2-empty-face ((t (:foreground "aquamarine2"))))
'(gnus-group-mail-2-face ((t (:bold t :foreground "aquamarine2"))))
'(gnus-group-mail-3-empty-face ((t (:foreground "aquamarine3"))))
'(gnus-group-mail-3-face ((t (:bold t :foreground "aquamarine3"))))
'(gnus-group-mail-low-empty-face ((t (:foreground "aquamarine4"))))
'(gnus-group-mail-low-face ((t (:bold t :foreground "aquamarine4"))))
'(gnus-group-news-1-empty-face ((t (:foreground "PaleTurquoise"))))
'(gnus-group-news-1-face ((t (:bold t :foreground "PaleTurquoise"))))
'(gnus-group-news-2-empty-face ((t (:foreground "turquoise"))))
'(gnus-group-news-2-face ((t (:bold t :foreground "turquoise"))))
'(gnus-group-news-3-empty-face ((t (:foreground "deep sky blue"))))
'(gnus-group-news-3-face ((t (:bold t :foreground "deep sky blue"))))
'(gnus-group-news-low-empty-face ((t (:foreground "DarkTurquoise"))))
'(gnus-group-news-low-face ((t (:bold t :foreground "DarkTurquoise"))))
'(gnus-header-content-face ((t (:foreground "gold"))))
'(gnus-header-from-face ((t (:foreground "gold"))))
'(gnus-header-name-face ((t (:foreground "deep sky blue"))))
'(gnus-header-newsgroups-face ((t (:foreground "gold"))))
'(gnus-header-subject-face ((t (:foreground "gold"))))
'(gnus-signature-face ((t (:foreground "gold"))))
'(gnus-splash-face ((t (:foreground "firebrick"))))
'(gnus-summary-cancelled-face ((t (:background "black" :foreground "deep sky blue"))))
'(gnus-summary-high-ancient-face ((t (:bold t :foreground "deep sky blue"))))
'(gnus-summary-high-read-face ((t (:bold t :foreground "deep sky blue"))))
'(gnus-summary-high-ticked-face ((t (:bold t :foreground "deep sky blue"))))
'(gnus-summary-high-unread-face ((t (:bold t :foreground "lime green"))))
'(gnus-summary-low-ancient-face ((t (:italic t :foreground "deep sky blue"))))
'(gnus-summary-low-read-face ((t (:italic t :foreground "deep sky blue"))))
'(gnus-summary-low-ticked-face ((t (:italic t :foreground "deep sky blue"))))
'(gnus-summary-low-unread-face ((t (:italic t :foreground "lime green"))))
'(gnus-summary-normal-ancient-face ((t (:foreground "deep sky blue"))))
'(gnus-summary-normal-read-face ((t (:foreground "deep sky blue"))))
'(gnus-summary-normal-ticked-face ((t (:foreground "deep sky blue"))))
'(gnus-summary-normal-unread-face ((t (:foreground "lime green"))))
'(gnus-summary-selected-face ((t (:underline t :foreground "gold"))))
'(highlight ((t (:background "steel blue" :foreground "black"))))
'(holiday-face ((t (:background "blue4" :foreground "IndianRed1"))))
'(info-menu-5 ((t (:underline t :foreground "gold"))))
'(info-node ((t (:italic t :bold t :foreground "gold"))))
'(info-xref ((t (:bold t :foreground "gold"))))
'(isearch ((t (:background "firebrick" :foreground "white"))))
'(italic ((t (:italic t :foreground "yellow2"))))
'(message-cited-text-face ((t (:foreground "gold"))))
'(message-header-cc-face ((t (:bold t :foreground "green4"))))
'(message-header-name-face ((t (:foreground "deep sky blue"))))
'(message-header-newsgroups-face ((t (:italic t :bold t :foreground "gold"))))
'(message-header-other-face ((t (:foreground "gold"))))
'(message-header-subject-face ((t (:foreground "gold"))))
'(message-header-to-face ((t (:bold t :foreground "gold"))))
'(message-header-xheader-face ((t (:foreground "blue"))))
'(message-separator-face ((t (:foreground "lime green"))))
'(modeline ((t (:foreground "white" :background "black"))))
'(modeline-buffer-id ((t (:foreground "white" :background "black"))))
'(modeline-mousable ((t (:foreground "white" :background "black"))))
'(modeline-mousable-minor-mode ((t (:foreground "white" :background "black"))))
'(overlay-empty-face ((t (nil))))
'(primary-selection ((t (:background "firebrick" :foreground "white"))))
'(region ((t (:background "firebrick" :foreground "white"))))
'(secondary-selection ((t (:background "yellow2" :foreground "black"))))
'(semantic-dirty-token-face ((t (:background "gray10"))))
'(show-paren-match-face ((t (:background "deep sky blue" :foreground "black"))))
'(show-paren-mismatch-face ((t (:background "firebrick" :foreground "white"))))
'(underline ((t (:underline t :background "blue4" :foreground "white")))))
;;;###autoload
(when load-file-name
(add-to-list 'custom-theme-load-path
(file-name-as-directory (file-name-directory load-file-name))))
(provide-theme 'word-perfect)
;;; word-perfect-theme.el ends here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment