summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.org18
1 files changed, 17 insertions, 1 deletions
diff --git a/config.org b/config.org index 9a78b97..e511c8d 100644 --- a/config.org +++ b/config.org
@@ -5,7 +5,7 @@
5#+EXPORT_FILE_NAME: README.md 5#+EXPORT_FILE_NAME: README.md
6#+OPTIONS: toc:nil 6#+OPTIONS: toc:nil
7#+BANKRUPTCY_COUNT: 3.2 7#+BANKRUPTCY_COUNT: 3.2
8#+Time-stamp: <2021-01-03 08:49:40 acdw> 8#+Time-stamp: <2021-01-03 14:46:41 acdw>
9 9
10* Basics 10* Basics
11 11
@@ -1519,6 +1519,22 @@ I’ve put org mode under Applications, as opposed to Writing, because it’s m
1519 (define-key beancount-mode-map (kbd "M-p") #'outline-previous-visible-heading) 1519 (define-key beancount-mode-map (kbd "M-p") #'outline-previous-visible-heading)
1520#+end_src 1520#+end_src
1521 1521
1522** PDF Tools
1523
1524I’m only enabling this at home for now, since it requires building stuff.
1525
1526#+begin_src emacs-lisp
1527 (defun acdw/disable-visual-fill-column-mode ()
1528 "Disable `visual-fill-column-mode'."
1529 (visual-fill-column-mode -1))
1530
1531 (when (memq system-type '(gnu/linux))
1532 (straight-use-package 'pdf-tools)
1533 (pdf-loader-install)
1534
1535 (add-hook 'pdf-view-mode-hook #'acdw/disable-visual-fill-column-mode))
1536#+end_src
1537
1522* Appendices 1538* Appendices
1523 1539
1524** Emacs' files 1540** Emacs' files