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
|
;;nim ; python + lisp at the speed of c
|
||||||
;;nix ; I hereby declare "nix geht mehr!"
|
;;nix ; I hereby declare "nix geht mehr!"
|
||||||
;;ocaml ; an objective camel
|
;;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
|
;;php ; perl's insecure younger brother
|
||||||
;;plantuml ; diagrams for confusing people more
|
;;plantuml ; diagrams for confusing people more
|
||||||
;;purescript ; javascript, but functional
|
;;purescript ; javascript, but functional
|
||||||
(python +lsp) ; beautiful is better than ugly
|
(python +lsp) ; beautiful is better than ugly
|
||||||
;;qt ; the 'cutest' gui framework ever
|
;;qt ; the 'cutest' gui framework ever
|
||||||
;;racket ; a DSL for DSLs
|
;;racket ; a DSL for DSLs
|
||||||
;;raku ; the artist formerly known as perl6
|
;;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/")
|
(setq org-directory "~/org/")
|
||||||
#+END_SRC
|
#+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
|
**** Auto Tangle
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp :tangle config.el
|
#+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)
|
(setq org-hide-emphasis-markers t)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
**** Ellipsis
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp :tangle config.el
|
||||||
|
(setq org-ellipsis " ▼ ")
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
**** Fonts
|
**** Fonts
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp :tangle config.el
|
#+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))
|
(org-colors-dracula))
|
||||||
#+END_SRC
|
#+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
|
*** Projectile
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp :tangle config.el
|
#+BEGIN_SRC emacs-lisp :tangle config.el
|
||||||
|
10
config.el
10
config.el
@@ -28,6 +28,9 @@
|
|||||||
|
|
||||||
(setq org-directory "~/org/")
|
(setq org-directory "~/org/")
|
||||||
|
|
||||||
|
(map! :leader
|
||||||
|
:desc "Org babel tangle" "m B" #'org-babel-tangle)
|
||||||
|
|
||||||
(use-package! org-auto-tangle
|
(use-package! org-auto-tangle
|
||||||
:defer t
|
:defer t
|
||||||
:hook (org-mode . org-auto-tangle-mode)
|
:hook (org-mode . org-auto-tangle-mode)
|
||||||
@@ -40,6 +43,8 @@
|
|||||||
|
|
||||||
(setq org-hide-emphasis-markers t)
|
(setq org-hide-emphasis-markers t)
|
||||||
|
|
||||||
|
(setq org-ellipsis " ▼ ")
|
||||||
|
|
||||||
(after! org-faces
|
(after! org-faces
|
||||||
(defun org-colors-dracula ()
|
(defun org-colors-dracula ()
|
||||||
"Enable Dracula colors for Org headers."
|
"Enable Dracula colors for Org headers."
|
||||||
@@ -59,6 +64,11 @@
|
|||||||
;; Load our desired org-colors-* theme on startup
|
;; Load our desired org-colors-* theme on startup
|
||||||
(org-colors-dracula))
|
(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/"))
|
(setq projectile-project-search-path '("~/Projects/" "~/.config/"))
|
||||||
|
|
||||||
(add-hook! 'web-mode-hook 'prettier-js-mode)
|
(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
|
;;nim ; python + lisp at the speed of c
|
||||||
;;nix ; I hereby declare "nix geht mehr!"
|
;;nix ; I hereby declare "nix geht mehr!"
|
||||||
;;ocaml ; an objective camel
|
;;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
|
;;php ; perl's insecure younger brother
|
||||||
;;plantuml ; diagrams for confusing people more
|
;;plantuml ; diagrams for confusing people more
|
||||||
;;purescript ; javascript, but functional
|
;;purescript ; javascript, but functional
|
||||||
(python +lsp) ; beautiful is better than ugly
|
(python +lsp) ; beautiful is better than ugly
|
||||||
;;qt ; the 'cutest' gui framework ever
|
;;qt ; the 'cutest' gui framework ever
|
||||||
;;racket ; a DSL for DSLs
|
;;racket ; a DSL for DSLs
|
||||||
;;raku ; the artist formerly known as perl6
|
;;raku ; the artist formerly known as perl6
|
||||||
|
Reference in New Issue
Block a user