diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-09-21 22:12:04 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-09-21 22:12:04 +0100 |
commit | 3aa078733b15ae970fa4620f24e5d00fe029a927 (patch) | |
tree | 5f17c51407c206d29a92a82e299bb088d1e76065 /Emacs/.config/emacs/config.org | |
parent | 1489e5af3fc7cd40b2b0560dad6362a1c8df8d4b (diff) | |
download | dotfiles-3aa078733b15ae970fa4620f24e5d00fe029a927.tar.gz dotfiles-3aa078733b15ae970fa4620f24e5d00fe029a927.tar.bz2 dotfiles-3aa078733b15ae970fa4620f24e5d00fe029a927.zip |
(Emacs)~org core -> OC Config, OC Bindings and OC variables
Big org block is better in smaller blocks
Diffstat (limited to 'Emacs/.config/emacs/config.org')
-rw-r--r-- | Emacs/.config/emacs/config.org | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index edf8579..fe6b077 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -1447,10 +1447,9 @@ use the current buffer?) but it works out. "M-g" #'pdfgrep)) #+end_src ** Org -*** Core -Setup for org mode, currently nothing. Has evil-org for evil bindings. - -Also setup a lot of variables, particularly for latex exports. +*** Org Core Configuration +Hooks, prettify-symbols and my =+org/swiper-goto= to replace the +vanilla =org-goto= #+begin_src emacs-lisp (use-package org :hook @@ -1469,11 +1468,22 @@ Also setup a lot of variables, particularly for latex exports. (interactive) (swiper "^\\* ")) (general-def - [remap org-goto] #'+org/swiper-goto)) + [remap org-goto] #'+org/swiper-goto))) +#+end_src +*** Org Core Bindings +Some bindings for org mode. +#+begin_src emacs-lisp +(use-package org + :general (general-def :states 'normal :keymaps 'org-mode-map - "C-c ;" #'org-property-action) + "C-c ;" #'org-property-action)) +#+end_src +*** Org Core Variables +Tons of variables for org-mode, including a ton of latex ones. +#+begin_src emacs-lisp +(use-package org :custom (org-edit-src-content-indentation 0) (org-goto-interface 'outline) @@ -1511,7 +1521,10 @@ Also setup a lot of variables, particularly for latex exports. ("breaklines" "true") ("breakanywhere" "true") ))) - +#+end_src +*** Evil Org +Evil org for some nice bindings. +#+begin_src emacs-lisp (use-package evil-org :hook (org-mode-hook . evil-org-mode)) #+end_src |