X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/blobdiff_plain/cb01f2c54a4e8d7a17f432b65b48296b0d03ebe3..d768052705edcc49e5f20adbb47c791bfe3a1483:/.emacs.d/etc/custom.el diff --git a/.emacs.d/etc/custom.el b/.emacs.d/etc/custom.el index 979b557..34cc306 100644 --- a/.emacs.d/etc/custom.el +++ b/.emacs.d/etc/custom.el @@ -7,11 +7,10 @@ '(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 t) - '(eshell-input-filter 'eshell-input-filter-initial-space 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) @@ -57,6 +56,10 @@ (mode . haskell-mode) (mode . lean-mode) (mode . alloy-mode))) + ("tex" + (or + (mode . bibtex-mode) + (mode . latex-mode))) ("emacs" (or (name . "^\\*scratch\\*$") @@ -66,23 +69,17 @@ '(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) + '(org-agenda-start-on-weekday 0 t) '(org-latex-packages-alist '(("" "listings") ("" "color"))) '(safe-local-variable-values '((eval require 'org-ref) - (org-hugo-auto-export-on-save . t) (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 @@ -91,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)))))