Merge branch 'master' of gitlab.com:chriscochrun/dotemacs

This commit is contained in:
Chris Cochrun 2021-03-05 09:10:53 -06:00
commit 5661c542fb
2 changed files with 32 additions and 8 deletions

View file

@ -22,6 +22,7 @@
- [[#magit][Magit]]
- [[#eshell][Eshell]]
- [[#pdf-tools][PDF-Tools]]
- [[#epub][EPUB]]
- [[#window-management][Window Management]]
- [[#elfeed][Elfeed]]
- [[#bongo][Bongo]]
@ -606,7 +607,8 @@ Part of this config includes some special capture templates for my work as a you
:config
(setq org-startup-indented t
org-edit-src-content-indentation 0
org-agenda-sticky t)
org-agenda-sticky t
org-fontify-quote-and-verse-blocks t)
(add-hook 'org-mode-hook 'chris/org-mode-setup)
@ -697,8 +699,7 @@ Part of this config includes some special capture templates for my work as a you
"Remove the org-columns overlay and turn on olivetti-mode"
(interactive)
(org-columns-quit)
(visual-line-mode +1)
(olivetti-mode +1))
(chris/org-mode-setup))
(add-hook 'org-agenda-finalize-hook 'evil-normal-state)
@ -714,6 +715,7 @@ Part of this config includes some special capture templates for my work as a you
(set-face-attribute `,face nil :inherit 'fixed-pitch))
(set-face-attribute 'org-block-end-line nil :inherit 'org-block-begin-line)
(set-face-attribute 'org-quote nil :background "#242631" :inherit 'fixed-pitch)
:general
(chris/leader-keys
@ -859,7 +861,11 @@ Org-Superstar makes the stars at the beginning of the line in =org-mode= a lot p
:after org
:config
(org-superstar-mode +1)
(setq org-superstar-headline-bullets-list '("\u25c9" "\u25c8" "\u25b8" "\u25ce" "\u272c" "\u25c7" "\u2749" "\u2719" "\u2756"))
(setq org-superstar-headline-bullets-list '("\u25c9" "\u25c8" "盛" "\u25ce" "\u272c" "\u25c7" "\u2749" "\u2719" "\u2756"))
(setq org-superstar-item-bullet-alist '((?- . ?\u25b8)
(?+ . ?\u2749)
(?* . ?\u25c9)))
(set-face-attribute 'org-superstar-item nil :inherit 'org-level-3)
(add-hook 'org-mode-hook 'org-superstar-mode))
#+end_src
*** Org DWIM
@ -1310,6 +1316,14 @@ Let's use pdf-tools for a lot better interaction with pdfs.
(pdf-tools-install))
#+end_src
** EPUB
#+begin_src emacs-lisp
(use-package nov
:mode ("\\.epub\\'" . nov-mode)
:config
(add-hook 'nov-mode-hook 'olivetti-mode))
#+end_src
** Window Management
#+begin_src emacs-lisp
(setq display-buffer-alist

18
init.el
View file

@ -355,7 +355,8 @@ vertically."
:config
(setq org-startup-indented t
org-edit-src-content-indentation 0
org-agenda-sticky t)
org-agenda-sticky t
org-fontify-quote-and-verse-blocks t)
(add-hook 'org-mode-hook 'chris/org-mode-setup)
@ -446,8 +447,7 @@ vertically."
"Remove the org-columns overlay and turn on olivetti-mode"
(interactive)
(org-columns-quit)
(visual-line-mode +1)
(olivetti-mode +1))
(chris/org-mode-setup))
(add-hook 'org-agenda-finalize-hook 'evil-normal-state)
@ -463,6 +463,7 @@ vertically."
(set-face-attribute `,face nil :inherit 'fixed-pitch))
(set-face-attribute 'org-block-end-line nil :inherit 'org-block-begin-line)
(set-face-attribute 'org-quote nil :background "#242631" :inherit 'fixed-pitch)
:general
(chris/leader-keys
@ -577,7 +578,11 @@ vertically."
:after org
:config
(org-superstar-mode +1)
(setq org-superstar-headline-bullets-list '("\u25c9" "\u25c8" "\u25b8" "\u25ce" "\u272c" "\u25c7" "\u2749" "\u2719" "\u2756"))
(setq org-superstar-headline-bullets-list '("\u25c9" "\u25c8" "" "\u25ce" "\u272c" "\u25c7" "\u2749" "\u2719" "\u2756"))
(setq org-superstar-item-bullet-alist '((?- . ?\u25b8)
(?+ . ?\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)
@ -997,6 +1002,11 @@ If on a:
:config
(pdf-tools-install))
(use-package nov
:mode ("\\.epub\\'" . nov-mode)
:config
(add-hook 'nov-mode-hook 'olivetti-mode))
(setq display-buffer-alist
'(("\\*e?shell\\*"
(display-buffer-in-side-window)