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:
26
README.org
26
README.org
@@ -225,11 +225,11 @@ Alternatively, press =gd= (or =C-c c d=) on a module to browse its directory (fo
|
||||
;;nim ; python + lisp at the speed of c
|
||||
;;nix ; I hereby declare "nix geht mehr!"
|
||||
;;ocaml ; an objective camel
|
||||
org ; organize your plain life in plain text
|
||||
(org +pretty) ; organize your plain life in plain text
|
||||
;;php ; perl's insecure younger brother
|
||||
;;plantuml ; diagrams for confusing people more
|
||||
;;purescript ; javascript, but functional
|
||||
(python +lsp) ; beautiful is better than ugly
|
||||
(python +lsp) ; beautiful is better than ugly
|
||||
;;qt ; the 'cutest' gui framework ever
|
||||
;;racket ; a DSL for DSLs
|
||||
;;raku ; the artist formerly known as perl6
|
||||
@@ -394,6 +394,13 @@ If you use =org= and don't want your org files in the default location below, ch
|
||||
(setq org-directory "~/org/")
|
||||
#+END_SRC
|
||||
|
||||
**** Babel Tangle Keybinding
|
||||
|
||||
#+BEGIN_SRC emacs-lisp :tangle config.el
|
||||
(map! :leader
|
||||
:desc "Org babel tangle" "m B" #'org-babel-tangle)
|
||||
#+END_SRC
|
||||
|
||||
**** Auto Tangle
|
||||
|
||||
#+BEGIN_SRC emacs-lisp :tangle config.el
|
||||
@@ -418,6 +425,12 @@ If you use =org= and don't want your org files in the default location below, ch
|
||||
(setq org-hide-emphasis-markers t)
|
||||
#+END_SRC
|
||||
|
||||
**** Ellipsis
|
||||
|
||||
#+BEGIN_SRC emacs-lisp :tangle config.el
|
||||
(setq org-ellipsis " ▼ ")
|
||||
#+END_SRC
|
||||
|
||||
**** Fonts
|
||||
|
||||
#+BEGIN_SRC emacs-lisp :tangle config.el
|
||||
@@ -441,6 +454,15 @@ If you use =org= and don't want your org files in the default location below, ch
|
||||
(org-colors-dracula))
|
||||
#+END_SRC
|
||||
|
||||
**** Superstar
|
||||
|
||||
#+BEGIN_SRC emacs-lisp :tangle config.el
|
||||
(setq org-superstar-headline-bullets-list '("◉" "●" "○" "◆" "●" "○" "◆"))
|
||||
(setq org-superstar-item-bullet-alist '((?+ . ?➤) (?- . ?✦))) ; changes +/- symbols in item lists
|
||||
|
||||
(add-hook! org-mode (org-superstar-mode))
|
||||
#+END_SRC
|
||||
|
||||
*** Projectile
|
||||
|
||||
#+BEGIN_SRC emacs-lisp :tangle config.el
|
||||
|
10
config.el
10
config.el
@@ -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)
|
||||
|
4
init.el
4
init.el
@@ -134,11 +134,11 @@
|
||||
;;nim ; python + lisp at the speed of c
|
||||
;;nix ; I hereby declare "nix geht mehr!"
|
||||
;;ocaml ; an objective camel
|
||||
org ; organize your plain life in plain text
|
||||
(org +pretty) ; organize your plain life in plain text
|
||||
;;php ; perl's insecure younger brother
|
||||
;;plantuml ; diagrams for confusing people more
|
||||
;;purescript ; javascript, but functional
|
||||
(python +lsp) ; beautiful is better than ugly
|
||||
(python +lsp) ; beautiful is better than ugly
|
||||
;;qt ; the 'cutest' gui framework ever
|
||||
;;racket ; a DSL for DSLs
|
||||
;;raku ; the artist formerly known as perl6
|
||||
|
Reference in New Issue
Block a user