Changeset 2efc2dc in dotfiles for emacs/.emacs
- Timestamp:
- Jan 2, 2020, 4:37:01 PM (5 years ago)
- Branches:
- master
- Children:
- 82662c5
- Parents:
- e5c8ae5
- git-author:
- Mikhail Kirillov <w96k@…> (01/02/20 06:11:26)
- git-committer:
- Mikhail Kirillov <w96k@…> (01/02/20 16:37:01)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
emacs/.emacs
re5c8ae5 r2efc2dc 51 51 52 52 (add-to-list 'load-path "~/.guix-profile/share/emacs/site-lisp/") 53 54 ;; Information about me 55 (setq user-full-name "Mikhail Kirillov" 56 user-mail-address "w96k@posteo.net") 53 57 54 58 ;;;; VISUALS … … 81 85 line-number-mode t) 82 86 :hook (after-init . doom-modeline-mode)) 87 88 ;;; Org-mode 89 (use-package org 90 :config 91 (setq org-publish-project-alist 92 `(("blog" :components ("blog-content" "blog-styles")) 93 ("blog-styles" 94 :base-directory "~/github/blog/public" 95 :base-extension "jpg\\|gif\\|png\\|ico\\|css" 96 :publishing-directory "~/github/blog/dist/public/" 97 :recursive t 98 :publishing-function org-publish-attachment 99 ) 100 ("blog-content" 101 :base-directory "~/github/blog/content" 102 :publishing-directory "~/github/blog/dist" 103 :recursive t 104 :publishing-function org-html-publish-to-html 105 106 :html-doctype "xhtml5" 107 108 :with-title nil 109 :with-author t 110 :with-creator nil 111 :with-date t 112 :with-email t 113 :with-footnotes t 114 :html-html5-fancy t 115 :html-preamble " 116 <header class=\"navbar\"> 117 <a href=\"/\" class=\"logo\">@w96k</a> 118 <a class=\"button\" href=\"/about.html\">Обо мне</a> 119 <a class=\"button\" href=\"https://github.com/w96k/cv/raw/master/cv.pdf\">CV</a> 120 <a class=\"button\" href=\"/feed.xml\"><span class=\"icon-rss\"></span></a> 121 </header>" 122 123 :html-head " 124 <link rel=\"shortcut icon\" href=\"/public/favicon.ico\"> 125 <link rel=\"stylesheet\" href=\"/public/css/mini.css\" type=\"text/css\"/> 126 <link rel=\"stylesheet\" href=\"/public/css/custom.css\" type=\"text/css\"/> 127 " 128 129 :html-container "article" 130 :html-postamble " 131 <div class=\"row\"> 132 <div class=\"col-sm\"> 133 <p class=\"licenses\"> 134 <a href=\"https://creativecommons.org/licenses/by/4.0/\"> 135 <img alt=\"Лицензия Creative Commons\" src=\"https://i.creativecommons.org/l/by/4.0/88x31.png\" /> 136 </a> 137 <a href=\"https://www.gnu.org/licenses/gpl-3.0.txt\"> 138 <img src=\"/public/images/gpl.png\"> 139 </a> 140 </p> 141 </div> 142 143 <div class=\"col-sm\" align=\"center\"> 144 <p>© 2020 Mikhail Kirillov</p> 145 <p><a href=\"https://git.sr.ht/~w96k/blog\">Исходный код</a></p> 146 </div> 147 148 <div class=\"col-sm\" align=\"right\"> 149 <p><span class=\"icon-settings\"></span> %c</p> 150 <p><span class=\"icon-calendar\"></span> %C</p> 151 </div> 152 </div> 153 154 <br> 155 <div align=\"center\"> 156 <small> 157 <p>Содержимое данного сайта доступно по лицензии 158 <a href=\"https://creativecommons.org/licenses/by/4.0/\"> 159 Creative Commons «Attribution» («Атрибуция») 4.0 Всемирная 160 </a> 161 </p> 162 <p>Исходный код данного сайта доступен по лицензии GNU General Public License Version 3</p> 163 </small> 164 </div>" 165 166 :section-numbers nil 167 ;;:with-sub-superscript nil ;; important!! 168 169 ;; sitemap - list of blog articles 170 :auto-sitemap t 171 :sitemap-filename "sitemap.org" 172 :sitemap-title "@w96k" 173 :sitemap-sort-files anti-chronologically)))) 174 175 (use-package simple-httpd) 83 176 84 177 ;;; Bullets for org-mode … … 258 351 :config 259 352 (add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode)) 353 (setq web-mode-markup-indent-offset 2) 260 354 (setq web-mode-enable-auto-pairing t) 261 355 (setq web-mode-enable-current-element-highlight t) … … 620 714 621 715 ;;; Lilypond 622 (use-package lilypond-mode 623 :ensure nil 624 :ensure-system-package lilypond 625 :config 626 (autoload 'LilyPond-mode "lilypond-mode") 716 (progn 717 (autoload 'lilypond "lilypond") 718 (autoload 'lilypond-mode "lilypond-mode") 627 719 (setq auto-mode-alist 628 720 (cons '("\\.ly$" . LilyPond-mode) auto-mode-alist)) … … 632 724 (use-package flycheck-lilypond) 633 725 726 ;;; Publishing system 727 (use-package muse) 728 634 729 ;; (global-set-key [(control ?h)] 'delete-backward-char) 730 (custom-set-variables 731 ;; custom-set-variables was added by Custom. 732 ;; If you edit it by hand, you could mess it up, so be careful. 733 ;; Your init file should contain only one such instance. 734 ;; If there is more than one, they won't work right. 735 '(company-idle-delay 0.1) 736 '(company-minimum-prefix-length 1) 737 '(company-require-match nil) 738 '(company-tooltip-align-annotation t t) 739 '(package-selected-packages 740 (quote 741 (simple-httpd web-server ox-twbst ox-twbs org-mode yasnippet-snippets whitespace-cleanup-mode web-mode w3m vue-mode volume use-package-ensure-system-package undo-tree twittering-mode tide theme-magic telega symon sudoku sudo-edit smart-mode-line sed-mode rjsx-mode rinari restclient restart-emacs rainbow-delimiters quelpa-use-package projectile prettier-js powerline pinentry php-mode peep-dired pdf-tools paredit paradox ox-hugo org-pomodoro org-mime org-journal org-bullets nodejs-repl mwim muse moody matrix-client magithub magit-gitflow lsp-ui leerzeichen ledger-mode keycast kaolin-themes ivy-hydra intero highlight-indent-guides hackernews guru-mode git-gutter git-gutter+ frameshot forge flymd flycheck-lilypond fic-mode exwm exec-path-from-shell eslint-fix epresent emojify elpy editorconfig edit-server dumb-jump doom-modeline dockerfile-mode docker disable-mouse dired-sidebar diminish debbugs dashboard dap-mode counsel company-lsp command-log-mode column-enforce-mode color-theme-sanityinc-tomorrow cider benchmark-init all-the-icons-dired aggressive-indent ag)))) 742 (custom-set-faces 743 ;; custom-set-faces was added by Custom. 744 ;; If you edit it by hand, you could mess it up, so be careful. 745 ;; Your init file should contain only one such instance. 746 ;; If there is more than one, they won't work right. 747 )
Note:
See TracChangeset
for help on using the changeset viewer.