[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
|
||||
(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-variable-pitch-font (font-spec :family "Noto Serif" :size 14)
|
||||
doom-serif-font (font-spec :family "FuraCode Nerd Font Mono")
|
||||
doom-variable-pitch-font (font-spec :family "Liberation Serif" :size 16)
|
||||
doom-serif-font (font-spec :family "Liberation Serif" :size 16)
|
||||
doom-theme 'srcery)
|
||||
#+END_SRC
|
||||
** 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 'typo-mode)
|
||||
; For org mode serif
|
||||
(add-hook 'org-mode-hook 'variable-pitch-mode)
|
||||
(add-hook 'org-mode-hook
|
||||
'(lambda ()
|
||||
(mapc
|
||||
(lambda (face) ;; Other fonts with fixed-pitch.
|
||||
(set-face-attribute face nil :inherit 'fixed-pitch))
|
||||
(list 'org-link
|
||||
'org-block
|
||||
'org-table
|
||||
'org-block-begin-line
|
||||
'org-block-end-line))))
|
||||
;(add-hook 'org-mode-hook 'variable-pitch-mode)
|
||||
;(add-hook 'org-mode-hook
|
||||
; '(lambda ()
|
||||
; (mapc
|
||||
; (lambda (face) ;; Other fonts with fixed-pitch.
|
||||
; (set-face-attribute face nil :inherit 'fixed-pitch))
|
||||
; (list 'org-link
|
||||
; 'org-block
|
||||
; 'org-table
|
||||
; 'org-block-begin-line
|
||||
; 'org-block-end-line))))
|
||||
|
||||
(add-hook 'org-mode-hook #'auto-fill-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))))
|
||||
#+END_SRC
|
||||
|
||||
* Nov.el
|
||||
* Novel
|
||||
Reading novels in Emacs, how novel!
|
||||
|
||||
#+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-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
|
||||
|
||||
* 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))
|
||||
|
||||
#+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