diff options
author | 2019-04-13 19:26:19 -0400 | |
---|---|---|
committer | 2019-04-13 19:26:19 -0400 | |
commit | 5fb7704c0f844191de7c5e4d03b059525348b5f4 (patch) | |
tree | a869cb94b55ed373b365f1a4275cc2b9f5f994c2 /.emacs.d/etc/custom.el | |
parent | 466f433f6b3e26d0a57d377cf898a06fc1e453cc (diff) | |
download | configs-5fb7704c0f844191de7c5e4d03b059525348b5f4.tar.gz configs-5fb7704c0f844191de7c5e4d03b059525348b5f4.tar.xz configs-5fb7704c0f844191de7c5e4d03b059525348b5f4.zip |
emacs: move configuration to .emacs.d
Diffstat (limited to '.emacs.d/etc/custom.el')
-rw-r--r-- | .emacs.d/etc/custom.el | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/.emacs.d/etc/custom.el b/.emacs.d/etc/custom.el new file mode 100644 index 0000000..f9a149b --- /dev/null +++ b/.emacs.d/etc/custom.el @@ -0,0 +1,88 @@ +(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. + '(auth-sources '("~/.authinfo.gpg")) + '(company-dabbrev-char-regexp "\\sw\\|\\s_\\|[-_]") + '(company-dabbrev-downcase nil) + '(company-dabbrev-ignore-case nil) + '(company-idle-delay 0.3) + '(company-minimum-prefix-length 1) + '(company-selection-wrap-around t) + '(eshell-hist-ignoredups t) + '(eshell-input-filter 'eshell-input-filter-initial-space) + '(ibuffer-formats + '((mark modified read-only locked " " + (name 18 18 :left :elide) + " " + (size-h 9 -1 :right) + " " + (mode 16 16 :left :elide) + " " filename-and-process) + (mark " " + (name 16 -1) + " " filename)) t) + '(ibuffer-saved-filter-groups + '(("default" + ("dired" + (mode . dired-mode)) + ("org" + (mode . org-mode)) + ("gnus" + (or + (mode . gnus-group-mode) + (mode . gnus-summary-mode) + (mode . gnus-article-mode) + (mode . message-mode))) + ("web" + (or + (mode . web-mode) + (mode . css-mode) + (mode . scss-mode) + (mode . js2-mode))) + ("shell" + (or + (mode . eshell-mode) + (mode . shell-mode) + (mode . term-mode))) + ("programming" + (or + (mode . python-mode) + (mode . c-mode) + (mode . c++-mode) + (mode . emacs-lisp-mode) + (mode . scheme-mode) + (mode . haskell-mode) + (mode . lean-mode))) + ("emacs" + (or + (name . "^\\*scratch\\*$") + (name . "^\\*Messages\\*$"))))) t) + '(ls-lisp-dirs-first t t) + '(org-latex-packages-alist '(("" "listings") ("" "color"))) + '(safe-local-variable-values + '((org-hugo-auto-export-on-save . t) + (eval when + (featurep 'typo + (typo-mode -1))) + (eval add-hook 'after-save-hook 'org-beamer-export-to-latex t t) + (eval setq org-latex-prefer-user-labels t) + (eval add-hook 'after-save-hook 'org-latex-export-to-latex t t) + (org-hugo-footer . " + +[//]: # \"Exported with love from a post written in Org mode\" +[//]: # \"- https://ox-hugo.scripter.co\"") + (eval add-hook 'after-save-hook #'a/async-babel-tangle 'append 'local))) + '(unkillable-buffers '("^\\*scratch\\*$" "^\\*Messages\\*$")) + '(which-key-add-column-padding 5) + '(which-key-max-description-length 32)) +(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. + '(dired-directory ((t (:weight semi-bold)))) + '(magit-diff-file-heading ((t (:weight normal)))) + '(quote (org-block-begin-line ((t (:foreground "#5a5b5a" :background "#1d1f21"))))) + '(widget-button ((t (:weight semi-bold))))) |