From 3aa078733b15ae970fa4620f24e5d00fe029a927 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 21 Sep 2020 22:12:04 +0100 Subject: (Emacs)~org core -> OC Config, OC Bindings and OC variables Big org block is better in smaller blocks --- Emacs/.config/emacs/config.org | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) (limited to 'Emacs/.config/emacs/config.org') 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 -- cgit v1.2.3-13-gbd6f