emacs: adjust org-mode config

This commit is contained in:
Hoang Nguyen 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))
;; 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))

View File

@ -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'