From 90b48c11b7068bd01b2d9a29bc3fbe6ecd0af54c Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sun, 13 Aug 2023 14:42:04 -0400 Subject: [PATCH] FIX ord folding and arrows --- etc/conf.org | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/etc/conf.org b/etc/conf.org index 5c4fc58..c268dcf 100644 --- a/etc/conf.org +++ b/etc/conf.org @@ -1752,11 +1752,16 @@ The advantage of doing it this way is that I can byte-compile and test independe (require 'org-x) #+end_src ** buffer interface -*** startup folding +*** folding Org 9.4 by default makes files open with the outline totally unfolded. I don't like this; it makes it seem like my laptop is screaming at me whenever I view an org file. #+begin_src emacs-lisp (setq org-startup-folded t) #+end_src + +Org 9.6 seemed to switch the default folding style which breaks search/replace. Change it back like so. +#+begin_src emacs-lisp +(setq org-fold-core-style 'overlays) +#+end_src *** line wrap I often write long, lengthy prose in org buffers, so use =visual-line-mode= to make lines wrap in automatic and sane manner. #+BEGIN_SRC emacs-lisp @@ -4052,10 +4057,10 @@ These are for mode-specific bindings that can/should be outside of the evil maps (add-hook 'org-mode-hook (lambda () ;; use the hyper keys/vim arrows with the shifters instead of shift/arrows - (local-set-key (kbd "H-k") 'org-shiftup) - (local-set-key (kbd "H-l") 'org-shiftright) - (local-set-key (kbd "H-j") 'org-shiftdown) - (local-set-key (kbd "H-h") 'org-shiftleft) + (local-set-key (kbd "H-") 'org-shiftup) + (local-set-key (kbd "H-") 'org-shiftright) + (local-set-key (kbd "H-") 'org-shiftdown) + (local-set-key (kbd "H-") 'org-shiftleft) ;; storing links is important, make a shortcut (local-set-key (kbd "C-c l") 'org-store-link)