X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/5fb7704c0f844191de7c5e4d03b059525348b5f4..8f75d115fc0ec92467da14716df0b8e9965d1cfb:/.emacs.d/etc/custom.el?ds=sidebyside diff --git a/.emacs.d/etc/custom.el b/.emacs.d/etc/custom.el index f9a149b..34cc306 100644 --- a/.emacs.d/etc/custom.el +++ b/.emacs.d/etc/custom.el @@ -7,7 +7,6 @@ '(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) @@ -51,30 +50,36 @@ (mode . python-mode) (mode . c-mode) (mode . c++-mode) + (mode . java-mode) (mode . emacs-lisp-mode) (mode . scheme-mode) (mode . haskell-mode) - (mode . lean-mode))) + (mode . lean-mode) + (mode . alloy-mode))) + ("tex" + (or + (mode . bibtex-mode) + (mode . latex-mode))) ("emacs" (or (name . "^\\*scratch\\*$") - (name . "^\\*Messages\\*$"))))) t) + (name . "^\\*Messages\\*$"))) + ("erc" + (mode . erc-mode)))) t) '(ls-lisp-dirs-first t t) + '(org-agenda-files + '("~/usr/org/todos/personal.org" "~/usr/org/todos/masters.org")) + '(org-agenda-start-on-weekday 0 t) '(org-latex-packages-alist '(("" "listings") ("" "color"))) '(safe-local-variable-values - '((org-hugo-auto-export-on-save . t) + '((eval require 'org-ref) (eval when (featurep 'typo (typo-mode -1))) + (eval add-hook 'after-save-hook #'a/async-babel-tangle 'append 'local) (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\\*$")) + (eval add-hook 'after-save-hook 'org-latex-export-to-latex t t))) '(which-key-add-column-padding 5) '(which-key-max-description-length 32)) (custom-set-faces @@ -83,6 +88,7 @@ ;; 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)))) + '(ivy-virtual ((t (:inherit font-lock-builtin-face :foreground "dim gray")))) '(magit-diff-file-heading ((t (:weight normal)))) '(quote (org-block-begin-line ((t (:foreground "#5a5b5a" :background "#1d1f21"))))) '(widget-button ((t (:weight semi-bold)))))