X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/cd7a784e5b0b0624a09d5520fd6482a545f8bef6..d9241fc2f8fad196658f5167c56b062485dcc217:/.emacs.d/init.org?ds=inline diff --git a/.emacs.d/init.org b/.emacs.d/init.org index 77d5144..1ea9fe1 100644 --- a/.emacs.d/init.org +++ b/.emacs.d/init.org @@ -1023,9 +1023,8 @@ Not just how I do git, but /the/ way to do git. 'magit-insert-modules 'magit-insert-stashes 'append) - (setq - magit-repository-directories '(("~/.emacs.d/" . 0) - ("~/src/git/" . 1))) + (setq magit-repository-directories '(("~/" . 0) + ("~/src/git/" . 1))) (nconc magit-section-initial-visibility-alist '(([unpulled status] . show) ([unpushed status] . show))) @@ -1091,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 @@ -1202,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\\*$") @@ -1315,6 +1319,14 @@ There's no way I could top that, so I won't attempt to. :config (dash-enable-font-lock)) #+end_src +*** DocView + +#+begin_src emacs-lisp +(use-package doc-view + :bind (:map doc-view-mode-map + ("M-RET" . image-previous-line))) +#+end_src + * Editing :PROPERTIES: :CUSTOM_ID: editing @@ -2241,6 +2253,29 @@ Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]]. (text-mode . yas-minor-mode)) #+end_src +** Debbugs + +#+begin_src emacs-lisp +(use-package debbugs + :straight (debbugs + :host github + :repo "emacs-straight/debbugs" + :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 @@ -2492,7 +2527,7 @@ Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]]. (concat "Hi %F,\n\n" a/message-cite-style-format) a/message-cite-style-format))) "Citation style based on Mozilla Thunderbird's. Use with message-cite-style.") - (setq message-cite-style 'message-cite-style-bandali + (setq ;; message-cite-style 'message-cite-style-bandali message-kill-buffer-on-exit t message-send-mail-function 'message-send-mail-with-sendmail message-sendmail-envelope-from 'header