All the things

This commit is contained in:
opal
2021-12-26 23:15:20 -08:00
parent c0a14febd5
commit f4764a05df
6 changed files with 89 additions and 66 deletions

View File

@@ -98,8 +98,9 @@ Doom's modeline is excellent, and much less cluttered than the default Emacs mod
;; install all-the-icons when first loading the emacs conf
;; remember to run M-x all-the-icons-install-fonts
(when (display-graphic-p)
(use-package all-the-icons :straight t))
(use-package all-the-icons
:straight t
:if (display-graphic-p))
#+end_src
*** Keybinding display
@@ -185,12 +186,17 @@ Helpful.el is a package that reformats the describe-X functions to be much more
#+end_src
** Fonts
Mozilla's Fira fonts are pretty, and the Sans and Code types look excellent with the corresponding mode.
#+begin_src emacs-lisp
(set-face-attribute 'default nil :font "Fira Code" :height 125 :weight 'medium)
(set-face-attribute 'default nil :font "Fira Mono" :height 125 :weight 'medium)
(set-face-attribute 'variable-pitch nil :font "Fira Sans" :height 1.0 :weight 'regular)
(set-face-attribute 'fixed-pitch nil :font "Fira Code" :height 1.0 :weight 'medium)
(use-package mixed-pitch
:straight t
:config
(add-hook 'org-mode-hook #'mixed-pitch-mode))
(use-package unicode-fonts :straight t)
#+end_src
** Keybinding
@@ -725,9 +731,7 @@ Sets HTML strings to have the background of the color they represent.
#+begin_src emacs-lisp
(use-package python-mode
:ensure t
:hook (python-mode . lsp-deferred)
:custom
(python-shell-interpreter "python3"))
:hook (python-mode . lsp-deferred))
#+end_src
*** Lisp