From 3c3eca3c12cb8e1a87d9d24d0c54f6c1fc1016a9 Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Sat, 27 Mar 2021 01:09:37 +0300 Subject: [PATCH] emacs: adjust org-mode config --- home/.config/doom/config.el | 26 ++++++++++++++++---------- home/.config/tmux/tmux.conf | 2 +- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/home/.config/doom/config.el b/home/.config/doom/config.el index 67745bb..25a8ffe 100644 --- a/home/.config/doom/config.el +++ b/home/.config/doom/config.el @@ -164,18 +164,28 @@ (setq which-key-idle-delay 0.5)) ;; Org -(setq org-directory "~/Documents/Org/" - org-default-notes-file "~/Documents/Org/notes.org" - org-agenda-files '("~/Documents/Org/agenda/agenda.org" "~/Documents/Org/agenda/archive.org") - org-confirm-babel-evaluate nil - org-ellipsis "▾" - org-hide-emphasis-markers t) +(setq org-directory "~/Documents/Org/") +(after! org + (setq org-default-notes-file "~/Documents/Org/notes.org" + org-agenda-files '("~/Documents/Org/agenda/agenda.org" "~/Documents/Org/agenda/archive.org") + org-confirm-babel-evaluate nil + org-ellipsis "▾" + org-log-done t + org-log-into-drawser t + org-insert-heading-respect-content nil + org-hide-emphasis-markers t) + (add-to-list 'org-modules 'ol-info) + ;; Org-noter + (setq org-noter-notes-search-path '("~/Documents/Org/noter/")) + ;; Org-journal + (setq org-journal-dir "~/Documents/Org/journal/")) (defun follie/comfy-org-editing () (setq visual-fill-column-width 100 visual-fill-column-center-text t) (visual-fill-column-mode 1) (display-line-numbers-mode -1)) (add-hook 'org-mode-hook 'follie/comfy-org-editing) +(add-hook! org-mode (electric-indent-local-mode -1)) (defun follie/org-toggle-emphasis-markers () "Toggle emphasis markers in an Org buffer" (interactive) @@ -199,10 +209,6 @@ org-tree-slide-breadcrumbs " ▶ " org-tree-slide-activate-message "Presentation starto..." org-tree-slide-deactivate-message "Thanks for listening!")) -;; Org-noter -(setq org-noter-notes-search-path '("~/Documents/Org/noter/")) -;; Org-journal -(setq org-journal-dir "~/Documents/Org/journal/") ;; Latex (setq +latex-viewers '(pdf-tools)) diff --git a/home/.config/tmux/tmux.conf b/home/.config/tmux/tmux.conf index 9d85a5b..6b57efd 100644 --- a/home/.config/tmux/tmux.conf +++ b/home/.config/tmux/tmux.conf @@ -48,7 +48,7 @@ set -g @prefix_highlight_sync_prompt 'Sync' # Load plugins set -g @plugin 'tmux-plugins/tpm' -set -g @plugin "arcticicestudio/nord-tmux" +set -g @plugin 'arcticicestudio/nord-tmux' # set -g @plugin "wfxr/tmux-power" set -g @plugin 'tmux-plugins/tmux-prefix-highlight' set -g @plugin 'tmux-plugins/tmux-pain-control'