emacs: adjust org-mode config

This commit is contained in:
FollieHiyuki 2021-03-27 01:09:37 +03:00
parent 89fadd6b81
commit 3c3eca3c12
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
2 changed files with 17 additions and 11 deletions

View File

@ -164,18 +164,28 @@
(setq which-key-idle-delay 0.5)) (setq which-key-idle-delay 0.5))
;; Org ;; Org
(setq org-directory "~/Documents/Org/" (setq org-directory "~/Documents/Org/")
org-default-notes-file "~/Documents/Org/notes.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-agenda-files '("~/Documents/Org/agenda/agenda.org" "~/Documents/Org/agenda/archive.org")
org-confirm-babel-evaluate nil org-confirm-babel-evaluate nil
org-ellipsis "" org-ellipsis ""
org-log-done t
org-log-into-drawser t
org-insert-heading-respect-content nil
org-hide-emphasis-markers t) 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 () (defun follie/comfy-org-editing ()
(setq visual-fill-column-width 100 (setq visual-fill-column-width 100
visual-fill-column-center-text t) visual-fill-column-center-text t)
(visual-fill-column-mode 1) (visual-fill-column-mode 1)
(display-line-numbers-mode -1)) (display-line-numbers-mode -1))
(add-hook 'org-mode-hook 'follie/comfy-org-editing) (add-hook 'org-mode-hook 'follie/comfy-org-editing)
(add-hook! org-mode (electric-indent-local-mode -1))
(defun follie/org-toggle-emphasis-markers () (defun follie/org-toggle-emphasis-markers ()
"Toggle emphasis markers in an Org buffer" "Toggle emphasis markers in an Org buffer"
(interactive) (interactive)
@ -199,10 +209,6 @@
org-tree-slide-breadcrumbs "" org-tree-slide-breadcrumbs ""
org-tree-slide-activate-message "Presentation starto..." org-tree-slide-activate-message "Presentation starto..."
org-tree-slide-deactivate-message "Thanks for listening!")) 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 ;; Latex
(setq +latex-viewers '(pdf-tools)) (setq +latex-viewers '(pdf-tools))

View File

@ -48,7 +48,7 @@ set -g @prefix_highlight_sync_prompt 'Sync'
# Load plugins # Load plugins
set -g @plugin 'tmux-plugins/tpm' 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 "wfxr/tmux-power"
set -g @plugin 'tmux-plugins/tmux-prefix-highlight' set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'tmux-plugins/tmux-pain-control' set -g @plugin 'tmux-plugins/tmux-pain-control'