From 1278d522a2b6776b619da3ee462f0b55193e3eb4 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 20 Oct 2018 14:51:45 -0400 Subject: [emacs] some cosmetic changes --- etc/custom.el | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 etc/custom.el (limited to 'etc/custom.el') diff --git a/etc/custom.el b/etc/custom.el new file mode 100644 index 0000000..3868db1 --- /dev/null +++ b/etc/custom.el @@ -0,0 +1,74 @@ +(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. + '(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) + '(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))) + '(ibuffer-saved-filter-groups + '(("default" + ("dired" + (mode . dired-mode)) + ("org" + (name . "^.*org$")) + ("web" + (or + (mode . web-mode) + (mode . css-mode) + (mode . scss-mode) + (mode . js2-mode))) + ("shell" + (or + (mode . eshell-mode) + (mode . shell-mode))) + ("notmuch" + (name . "*notmuch*")) + ("programming" + (or + (mode . python-mode) + (mode . c++-mode) + (mode . emacs-lisp-mode))) + ("emacs" + (or + (name . "^\\*scratch\\*$") + (name . "^\\*Messages\\*$")))))) + '(org-latex-packages-alist '(("" "listings") ("" "color"))) + '(safe-local-variable-values + '((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 #'amin/async-babel-tangle 'append 'local)))) +(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)))) + '(font-lock-comment-face ((t (:foreground "#111111" :weight semi-bold)))) + '(ivy-minibuffer-match-face-2 ((t (:background "#e99ce8" :weight semi-bold)))) + '(ivy-minibuffer-match-face-3 ((t (:background "#bbbbff" :weight semi-bold)))) + '(ivy-minibuffer-match-face-4 ((t (:background "#ffbbff" :weight semi-bold)))) + '(magit-diff-file-heading ((t (:weight normal)))) + '(message-header-subject ((t (:foreground "navy blue" :weight semi-bold)))) + '(message-header-to ((t (:foreground "MidnightBlue" :weight semi-bold)))) + '(notmuch-search-unread-face ((t (:weight semi-bold)))) + '(notmuch-tag-face ((t (:foreground "navy blue" :weight semi-bold)))) + '(widget-button ((t (:weight semi-bold))))) -- cgit v1.2.3-60-g2f50