From fb31686d9a3e14b9cc824cf67ad3ad1d857e6d41 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Mon, 29 Apr 2019 11:15:32 -0400 Subject: [PATCH 1/1] emacs: custom-file updates --- .emacs.d/etc/custom.el | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/.emacs.d/etc/custom.el b/.emacs.d/etc/custom.el index 979b557..7bf75f0 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) @@ -22,7 +21,7 @@ " " filename-and-process) (mark " " (name 16 -1) - " " filename)) t) + " " filename))) '(ibuffer-saved-filter-groups '(("default" ("dired" @@ -57,32 +56,30 @@ (mode . haskell-mode) (mode . lean-mode) (mode . alloy-mode))) + ("tex" + (or + (mode . bibtex-mode) + (mode . latex-mode))) ("emacs" (or (name . "^\\*scratch\\*$") (name . "^\\*Messages\\*$"))) ("erc" - (mode . erc-mode)))) t) + (mode . erc-mode))))) '(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 -- 2.20.1