diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-06-11 18:09:04 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-06-11 18:09:24 +0100 |
commit | b00b37fa4e5bcb544c5a4a59ddc85fce90e8038c (patch) | |
tree | 2c5b58c787e95278d9bb8fd7d145236fb4406a84 /Emacs/.config/emacs | |
parent | ebe69ceb21b4ddce5f820a28329bbecfcf492ca5 (diff) | |
download | dotfiles-b00b37fa4e5bcb544c5a4a59ddc85fce90e8038c.tar.gz dotfiles-b00b37fa4e5bcb544c5a4a59ddc85fce90e8038c.tar.bz2 dotfiles-b00b37fa4e5bcb544c5a4a59ddc85fce90e8038c.zip |
(Emacs/config)~clean up some config in org-mode section
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r-- | Emacs/.config/emacs/config.org | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index dd97c2c..7789d07 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -2953,7 +2953,6 @@ pdf-process, code listing options via minted and the format options for latex fragments. #+begin_src emacs-lisp (use-package org - :straight t :defer t :init (setq org-format-latex-options @@ -2989,7 +2988,6 @@ copy pasted the majority of this, tweaking it till it felt good. Doom Emacs was very helpful here. #+begin_src emacs-lisp (use-package org - :straight t :defer t :init (setq org-edit-src-content-indentation 0 @@ -3016,7 +3014,6 @@ Emacs was very helpful here. Hooks, prettify-symbols and records for auto insertion. #+begin_src emacs-lisp (use-package org - :straight t :defer t :hook (org-mode-hook . prettify-symbols-mode) @@ -3036,7 +3033,6 @@ Hooks, prettify-symbols and records for auto insertion. Some bindings for org mode. #+begin_src emacs-lisp (use-package org - :straight t :defer t :general (file-leader @@ -3126,7 +3122,7 @@ Org agenda provides a nice viewing for schedules. With org mode it's a very tidy way to manage your time. #+begin_src emacs-lisp (use-package org-agenda - :after org + :defer t :init (defconst +org/agenda-root "~/Text" "Root directory for all agenda files") @@ -3143,10 +3139,8 @@ a very tidy way to manage your time. "a" `(,(proc (interactive) (find-file (completing-read "Enter directory: " org-agenda-files nil t))) :which-key "Open agenda directory")) - (app-leader "a" #'org-agenda) - (nmmap :keymaps 'org-agenda-mode-map "zd" #'org-agenda-day-view @@ -3167,7 +3161,7 @@ a very tidy way to manage your time. what org-capture does. #+begin_src emacs-lisp (use-package org-capture - :after org + :defer t :init (setq org-default-notes-file (concat org-directory "/todo.org") @@ -3313,25 +3307,6 @@ reveal.js. Pretty nifty and it's easy to use. (setq org-reveal-root "https://cdn.jsdelivr.net/npm/reveal.js" org-reveal-theme "sky")) #+end_src -** WAIT Org fragtog -:PROPERTIES: -:header-args:emacs-lisp: :tangle no -:END: -Toggle latex fragments in org mode so you get fancy maths symbols. I -use latex a bit in org mode as it is the premier way of getting -mathematical symbols rendered, but org mode > latex. - -Delimited environments are aplenty, escaped brackets and dollar signs -are my favourite. Here's a snippet: -$\int_{-\infty}^{\infty}e^{-x^2}dx = \sqrt{\pi}$. - -[2023-09-10 Sun] Emacs 29 complains constantly about this, probably -because this isn't implemented that well. Regardless it wasn't that -necessary anyway, just a nice feature to have. -#+begin_src emacs-lisp -(use-package org-fragtog - :hook (org-mode-hook . org-fragtog-mode)) -#+end_src ** Org superstar Org superstar adds unicode symbols for headers, much better than the default asterisks. |