Org Bullets & Ellipsis

- Org babel tangle keybinding
- Add org-superstar with custom headline bullets
  and item bullets
- Add custom ellipsis icon
This commit is contained in:
Sravan Balaji
2022-07-01 15:39:54 -04:00
parent 2c81c199a4
commit cf8cc5aebf
3 changed files with 36 additions and 4 deletions

View File

@@ -28,6 +28,9 @@
(setq org-directory "~/org/")
(map! :leader
:desc "Org babel tangle" "m B" #'org-babel-tangle)
(use-package! org-auto-tangle
:defer t
:hook (org-mode . org-auto-tangle-mode)
@@ -40,6 +43,8 @@
(setq org-hide-emphasis-markers t)
(setq org-ellipsis "")
(after! org-faces
(defun org-colors-dracula ()
"Enable Dracula colors for Org headers."
@@ -59,6 +64,11 @@
;; Load our desired org-colors-* theme on startup
(org-colors-dracula))
(setq org-superstar-headline-bullets-list '("" "" "" "" "" "" ""))
(setq org-superstar-item-bullet-alist '((?+ . ?➤) (?- . ?✦))) ; changes +/- symbols in item lists
(add-hook! org-mode (org-superstar-mode))
(setq projectile-project-search-path '("~/Projects/" "~/.config/"))
(add-hook! 'web-mode-hook 'prettier-js-mode)