emacs: add tex filter-group for ibuffer
[~bandali/configs] / .emacs.d / init.org
index b46b8b0..4f1193d 100644 (file)
@@ -1090,7 +1090,7 @@ There's no way I could top that, so I won't attempt to.
 #+begin_src emacs-lisp
 (use-package swiper
   :after ivy
-  :bind (("C-s"   . swiper)
+  :bind (("C-s"   . swiper-isearch)
          ("C-r"   . swiper)
          ("C-S-s" . isearch-forward)))
 #+end_src
@@ -1201,7 +1201,12 @@ There's no way I could top that, so I won't attempt to.
         (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\\*$")
@@ -2258,6 +2263,19 @@ Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]].
              :files (:defaults "Debbugs.wsdl")))
 #+end_src
 
+** org-ref
+
+#+begin_src emacs-lisp
+(use-package org-ref
+  :init
+  (a/setq-every '("~/usr/org/references.bib")
+    reftex-default-bibliography
+    org-ref-default-bibliography)
+  (setq
+   org-ref-bibliography-notes "~/usr/org/notes.org"
+   org-ref-pdf-directory "~/usr/org/bibtex-pdfs/"))
+#+end_src
+
 * Email
 :PROPERTIES:
 :CUSTOM_ID: email