adding org-modern as default org ui
This commit is contained in:
parent
e9a5ac733d
commit
bf57945a82
64
README.org
64
README.org
|
@ -836,7 +836,7 @@ In order to use it, I need to go to http://localhost:8080
|
||||||
|
|
||||||
*** Org-Superstar
|
*** Org-Superstar
|
||||||
Org-Superstar makes the stars at the beginning of the line in =org-mode= a lot prettier.
|
Org-Superstar makes the stars at the beginning of the line in =org-mode= a lot prettier.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp :tangle no
|
||||||
(use-package org-superstar
|
(use-package org-superstar
|
||||||
:after org
|
:after org
|
||||||
:config
|
:config
|
||||||
|
@ -846,17 +846,17 @@ Org-Superstar makes the stars at the beginning of the line in =org-mode= a lot p
|
||||||
(?+ . ?\u2749)
|
(?+ . ?\u2749)
|
||||||
(?* . ?\u25c9)))
|
(?* . ?\u25c9)))
|
||||||
(set-face-attribute 'org-superstar-item nil :inherit 'org-level-3)
|
(set-face-attribute 'org-superstar-item nil :inherit 'org-level-3)
|
||||||
(add-hook 'org-mode-hook 'org-superstar-mode))
|
(add-hook 'org-mode-hook '(org-superstar-mode -1)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Org Modern
|
*** Org Modern
|
||||||
#+BEGIN_SRC emacs-lisp :tangle no
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package org-modern
|
(use-package org-modern
|
||||||
:straight (:host github :repo "minad/org-modern")
|
:straight (:host github :repo "minad/org-modern")
|
||||||
:config
|
:config
|
||||||
|
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
'(org-moder-tag ((t :background "#9aedfe")))
|
'(org-modern-tag ((t :background "#9aedfe" :foreground "#282a36")))
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
@ -1126,6 +1126,62 @@ These two packages created by Prot are interesting to me and may help to make su
|
||||||
tabulated-list-mode-hook)))
|
tabulated-list-mode-hook)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package pulsar
|
||||||
|
:config
|
||||||
|
(setq pulsar-pulse-functions
|
||||||
|
;; NOTE 2022-04-09: The commented out functions are from before
|
||||||
|
;; the introduction of `pulsar-pulse-on-window-change'. Try that
|
||||||
|
;; instead.
|
||||||
|
'(recenter-top-bottom
|
||||||
|
move-to-window-line-top-bottom
|
||||||
|
reposition-window
|
||||||
|
;; bookmark-jump
|
||||||
|
;; other-window
|
||||||
|
;; delete-window
|
||||||
|
;; delete-other-windows
|
||||||
|
forward-page
|
||||||
|
backward-page
|
||||||
|
scroll-up-command
|
||||||
|
scroll-down-command
|
||||||
|
;; windmove-right
|
||||||
|
;; windmove-left
|
||||||
|
;; windmove-up
|
||||||
|
;; windmove-down
|
||||||
|
;; windmove-swap-states-right
|
||||||
|
;; windmove-swap-states-left
|
||||||
|
;; windmove-swap-states-up
|
||||||
|
;; windmove-swap-states-down
|
||||||
|
;; tab-new
|
||||||
|
;; tab-close
|
||||||
|
;; tab-next
|
||||||
|
org-next-visible-heading
|
||||||
|
org-previous-visible-heading
|
||||||
|
org-forward-heading-same-level
|
||||||
|
org-backward-heading-same-level
|
||||||
|
outline-backward-same-level
|
||||||
|
outline-forward-same-level
|
||||||
|
outline-next-visible-heading
|
||||||
|
outline-previous-visible-heading
|
||||||
|
outline-up-heading))
|
||||||
|
|
||||||
|
(setq pulsar-pulse-on-window-change t)
|
||||||
|
(setq pulsar-pulse t)
|
||||||
|
(setq pulsar-delay 0.055)
|
||||||
|
(setq pulsar-iterations 10)
|
||||||
|
(setq pulsar-face 'ffap)
|
||||||
|
(setq pulsar-highlight-face 'pulsar-yellow)
|
||||||
|
|
||||||
|
(pulsar-global-mode 1)
|
||||||
|
;; integration with the `consult' package:
|
||||||
|
(add-hook 'consult-after-jump-hook #'pulsar-recenter-top)
|
||||||
|
(add-hook 'consult-after-jump-hook #'pulsar-reveal-entry)
|
||||||
|
|
||||||
|
;; integration with the built-in `imenu':
|
||||||
|
(add-hook 'imenu-after-jump-hook #'pulsar-recenter-top)
|
||||||
|
(add-hook 'imenu-after-jump-hook #'pulsar-reveal-entry))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** EWW
|
** EWW
|
||||||
Builtin webbrowser for emacs. Trying it out as a text only browser for things.
|
Builtin webbrowser for emacs. Trying it out as a text only browser for things.
|
||||||
|
|
||||||
|
|
70
init.el
70
init.el
|
@ -604,16 +604,14 @@
|
||||||
org-roam-ui-update-on-save t
|
org-roam-ui-update-on-save t
|
||||||
org-roam-ui-open-on-start t))
|
org-roam-ui-open-on-start t))
|
||||||
|
|
||||||
(use-package org-superstar
|
(use-package org-modern
|
||||||
:after org
|
:straight (:host github :repo "minad/org-modern")
|
||||||
:config
|
:config
|
||||||
(org-superstar-mode +1)
|
|
||||||
(setq org-superstar-headline-bullets-list '("\u25c9" "\u25c8" "" "\u25ce" "\u272c" "\u25c7" "\u2749" "\u2719" "\u2756"))
|
(custom-set-faces
|
||||||
(setq org-superstar-item-bullet-alist '((?- . ?\u25b8)
|
'(org-modern-tag ((t :background "#9aedfe" :foreground "#282a36")))
|
||||||
(?+ . ?\u2749)
|
)
|
||||||
(?* . ?\u25c9)))
|
)
|
||||||
(set-face-attribute 'org-superstar-item nil :inherit 'org-level-3)
|
|
||||||
(add-hook 'org-mode-hook 'org-superstar-mode))
|
|
||||||
|
|
||||||
(defun chris/org-dwim-at-point (&optional arg)
|
(defun chris/org-dwim-at-point (&optional arg)
|
||||||
"Do-what-I-mean at point.
|
"Do-what-I-mean at point.
|
||||||
|
@ -806,6 +804,60 @@ If on a:
|
||||||
(use-package toc-org
|
(use-package toc-org
|
||||||
:after org)
|
:after org)
|
||||||
|
|
||||||
|
(use-package pulsar
|
||||||
|
:config
|
||||||
|
(setq pulsar-pulse-functions
|
||||||
|
;; NOTE 2022-04-09: The commented out functions are from before
|
||||||
|
;; the introduction of `pulsar-pulse-on-window-change'. Try that
|
||||||
|
;; instead.
|
||||||
|
'(recenter-top-bottom
|
||||||
|
move-to-window-line-top-bottom
|
||||||
|
reposition-window
|
||||||
|
;; bookmark-jump
|
||||||
|
;; other-window
|
||||||
|
;; delete-window
|
||||||
|
;; delete-other-windows
|
||||||
|
forward-page
|
||||||
|
backward-page
|
||||||
|
scroll-up-command
|
||||||
|
scroll-down-command
|
||||||
|
;; windmove-right
|
||||||
|
;; windmove-left
|
||||||
|
;; windmove-up
|
||||||
|
;; windmove-down
|
||||||
|
;; windmove-swap-states-right
|
||||||
|
;; windmove-swap-states-left
|
||||||
|
;; windmove-swap-states-up
|
||||||
|
;; windmove-swap-states-down
|
||||||
|
;; tab-new
|
||||||
|
;; tab-close
|
||||||
|
;; tab-next
|
||||||
|
org-next-visible-heading
|
||||||
|
org-previous-visible-heading
|
||||||
|
org-forward-heading-same-level
|
||||||
|
org-backward-heading-same-level
|
||||||
|
outline-backward-same-level
|
||||||
|
outline-forward-same-level
|
||||||
|
outline-next-visible-heading
|
||||||
|
outline-previous-visible-heading
|
||||||
|
outline-up-heading))
|
||||||
|
|
||||||
|
(setq pulsar-pulse-on-window-change t)
|
||||||
|
(setq pulsar-pulse t)
|
||||||
|
(setq pulsar-delay 0.055)
|
||||||
|
(setq pulsar-iterations 10)
|
||||||
|
(setq pulsar-face 'ffap)
|
||||||
|
(setq pulsar-highlight-face 'pulsar-yellow)
|
||||||
|
|
||||||
|
(pulsar-global-mode 1)
|
||||||
|
;; integration with the `consult' package:
|
||||||
|
(add-hook 'consult-after-jump-hook #'pulsar-recenter-top)
|
||||||
|
(add-hook 'consult-after-jump-hook #'pulsar-reveal-entry)
|
||||||
|
|
||||||
|
;; integration with the built-in `imenu':
|
||||||
|
(add-hook 'imenu-after-jump-hook #'pulsar-recenter-top)
|
||||||
|
(add-hook 'imenu-after-jump-hook #'pulsar-reveal-entry))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
(use-package vertico
|
(use-package vertico
|
||||||
|
|
Loading…
Reference in a new issue