[emacs] Variable font in Org experiment was a dud
This commit is contained in:
@ -27,8 +27,8 @@ to fonts and performance suffers, so we have Fira Mono to fall back on.
|
|||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq doom-font (font-spec :family "FuraCode Nerd Font Mono" :size 12)
|
(setq doom-font (font-spec :family "FuraCode Nerd Font Mono" :size 12)
|
||||||
doom-big-font (font-spec :family "FuraCode Nerd Font Mono" :size 17)
|
doom-big-font (font-spec :family "FuraCode Nerd Font Mono" :size 17)
|
||||||
doom-variable-pitch-font (font-spec :family "Noto Serif" :size 14)
|
doom-variable-pitch-font (font-spec :family "Liberation Serif" :size 16)
|
||||||
doom-serif-font (font-spec :family "FuraCode Nerd Font Mono")
|
doom-serif-font (font-spec :family "Liberation Serif" :size 16)
|
||||||
doom-theme 'srcery)
|
doom-theme 'srcery)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Borders
|
** Borders
|
||||||
@ -221,17 +221,17 @@ a serif font when I’m writing a lot of words.
|
|||||||
(add-hook 'org-mode-hook #'doom-disable-line-numbers-h)
|
(add-hook 'org-mode-hook #'doom-disable-line-numbers-h)
|
||||||
(add-hook 'org-mode-hook 'typo-mode)
|
(add-hook 'org-mode-hook 'typo-mode)
|
||||||
; For org mode serif
|
; For org mode serif
|
||||||
(add-hook 'org-mode-hook 'variable-pitch-mode)
|
;(add-hook 'org-mode-hook 'variable-pitch-mode)
|
||||||
(add-hook 'org-mode-hook
|
;(add-hook 'org-mode-hook
|
||||||
'(lambda ()
|
; '(lambda ()
|
||||||
(mapc
|
; (mapc
|
||||||
(lambda (face) ;; Other fonts with fixed-pitch.
|
; (lambda (face) ;; Other fonts with fixed-pitch.
|
||||||
(set-face-attribute face nil :inherit 'fixed-pitch))
|
; (set-face-attribute face nil :inherit 'fixed-pitch))
|
||||||
(list 'org-link
|
; (list 'org-link
|
||||||
'org-block
|
; 'org-block
|
||||||
'org-table
|
; 'org-table
|
||||||
'org-block-begin-line
|
; 'org-block-begin-line
|
||||||
'org-block-end-line))))
|
; 'org-block-end-line))))
|
||||||
|
|
||||||
(add-hook 'org-mode-hook #'auto-fill-mode)
|
(add-hook 'org-mode-hook #'auto-fill-mode)
|
||||||
(remove-hook 'org-mode-hook #'word-wrap-mode)
|
(remove-hook 'org-mode-hook #'word-wrap-mode)
|
||||||
@ -336,7 +336,7 @@ easier. I just need to level up with Zettels and web publishing of my notes.
|
|||||||
(company-org-roam-init))))
|
(company-org-roam-init))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Nov.el
|
* Novel
|
||||||
Reading novels in Emacs, how novel!
|
Reading novels in Emacs, how novel!
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
@ -370,7 +370,7 @@ Reading novels in Emacs, how novel!
|
|||||||
(add-hook 'nov-post-html-render-hook 'my-nov-post-html-render-hook)
|
(add-hook 'nov-post-html-render-hook 'my-nov-post-html-render-hook)
|
||||||
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
|
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
|
||||||
|
|
||||||
(add-hook 'nov-mode-hook 'variable-pitch-mode)
|
;(add-hook 'nov-mode-hook 'variable-pitch-mode)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Mail
|
* Mail
|
||||||
@ -542,3 +542,24 @@ Here we are trying to auto-translate Word and PDF files to be viewed in Emacs.
|
|||||||
(add-to-list 'auto-mode-alist '("\\.docx\\'" . pandoc-view-mode))
|
(add-to-list 'auto-mode-alist '("\\.docx\\'" . pandoc-view-mode))
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
* Magit
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(add-hook 'magit-mode-hook #'doom-disable-line-numbers-h)
|
||||||
|
|
||||||
|
(setq +magit-hub-features t ;; I want the PR/issue stuff too!
|
||||||
|
+magit-hub-enable-by-default t) ;; And I want it on by default!
|
||||||
|
|
||||||
|
(after! magit
|
||||||
|
(magit-wip-after-save-mode t)
|
||||||
|
(magit-wip-after-apply-mode t)
|
||||||
|
|
||||||
|
(setq magit-save-repository-buffers 'dontask
|
||||||
|
magit-circleci-token "097bf0dd808ad9103d489844e37cecffdf967837"
|
||||||
|
magit-repository-directories '(("~/src/" . 3)
|
||||||
|
("~/dotfiles/" . 0))
|
||||||
|
magit-popup-display-buffer-action nil ;; Not sure why this is here, wonder what it does
|
||||||
|
magit-display-file-buffer-function #'switch-to-buffer-other-window
|
||||||
|
magithub-clone-default-directory "~/src" ;; I want my stuff to clone to ~/projects
|
||||||
|
magithub-preferred-remote-method 'ssh_url)) ;; HTTPS cloning is awful, i authenticate with ssh keys.
|
||||||
|
|
||||||
|
#+END_SRC
|
||||||
|
|||||||
Reference in New Issue
Block a user