org: org-bullets + fix invalid fn
`org-save-outline-visibility'
This commit is contained in:
parent
b3e131f90d
commit
0732c9c1c1
2 changed files with 9 additions and 4 deletions
|
@ -81,6 +81,7 @@
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom/org-attachments ()
|
(defun doom/org-attachments ()
|
||||||
"Retrieves a list of all the attachments pertinent to the currect org-mode buffer."
|
"Retrieves a list of all the attachments pertinent to the currect org-mode buffer."
|
||||||
|
(require 'org-macs)
|
||||||
(org-save-outline-visibility nil
|
(org-save-outline-visibility nil
|
||||||
(let ((attachments '())
|
(let ((attachments '())
|
||||||
element
|
element
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
(evil-org-mode +1)
|
(evil-org-mode +1)
|
||||||
(visual-line-mode +1)
|
(visual-line-mode +1)
|
||||||
(setq line-spacing 2)
|
(setq line-spacing 2)
|
||||||
|
(org-bullets-mode +1)
|
||||||
|
|
||||||
;; If saveplace places the point in a folded position, unfold it on load
|
;; If saveplace places the point in a folded position, unfold it on load
|
||||||
(when (outline-invisible-p)
|
(when (outline-invisible-p)
|
||||||
|
@ -52,7 +53,7 @@
|
||||||
org-indent-mode-turns-on-hiding-stars t
|
org-indent-mode-turns-on-hiding-stars t
|
||||||
org-adapt-indentation nil
|
org-adapt-indentation nil
|
||||||
org-blank-before-new-entry '((heading . nil) (plain-list-item . auto))
|
org-blank-before-new-entry '((heading . nil) (plain-list-item . auto))
|
||||||
;; org-bullets-bullet-list '("✸" "•" "◦" "•" "◦" "•" "◦")
|
org-bullets-bullet-list '("✸" "•" "◦" "•" "◦" "•" "◦")
|
||||||
org-cycle-separator-lines 1
|
org-cycle-separator-lines 1
|
||||||
org-cycle-include-plain-lists t
|
org-cycle-include-plain-lists t
|
||||||
org-ellipsis 'hs-face
|
org-ellipsis 'hs-face
|
||||||
|
@ -162,8 +163,9 @@
|
||||||
(plantuml . t) (emacs-lisp . t) (matlab . t)
|
(plantuml . t) (emacs-lisp . t) (matlab . t)
|
||||||
(latex . t) (calc . t) (lisp . t) (lilypond . t)
|
(latex . t) (calc . t) (lisp . t) (lilypond . t)
|
||||||
;; (go . t)
|
;; (go . t)
|
||||||
(http . t)
|
;; (http . t)
|
||||||
(rust . t)))
|
;; (rust . t)
|
||||||
|
))
|
||||||
|
|
||||||
(let ((ext-regexp (regexp-opt '("GIF" "JPG" "JPEG" "SVG" "TIF" "TIFF" "BMP" "XPM"
|
(let ((ext-regexp (regexp-opt '("GIF" "JPG" "JPEG" "SVG" "TIF" "TIFF" "BMP" "XPM"
|
||||||
"gif" "jpg" "jpeg" "svg" "tif" "tiff" "bmp" "xpm"))))
|
"gif" "jpg" "jpeg" "svg" "tif" "tiff" "bmp" "xpm"))))
|
||||||
|
@ -219,7 +221,9 @@
|
||||||
(sp-local-pair "\\[" "\\]" :post-handlers '(("| " "SPC")))
|
(sp-local-pair "\\[" "\\]" :post-handlers '(("| " "SPC")))
|
||||||
(sp-local-pair "\\(" "\\)" :post-handlers '(("| " "SPC")))
|
(sp-local-pair "\\(" "\\)" :post-handlers '(("| " "SPC")))
|
||||||
(sp-local-pair "$$" "$$" :post-handlers '((:add " | ")) :unless '(sp-point-at-bol-p))
|
(sp-local-pair "$$" "$$" :post-handlers '((:add " | ")) :unless '(sp-point-at-bol-p))
|
||||||
(sp-local-pair "{" nil)))
|
(sp-local-pair "{" nil))
|
||||||
|
|
||||||
|
(use-package org-bullets :commands (org-bullets-mode)))
|
||||||
|
|
||||||
(defun doom|org-keybinds ()
|
(defun doom|org-keybinds ()
|
||||||
(map! (:map org-mode-map
|
(map! (:map org-mode-map
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue