GNU Emacs config from video: Leaving Doom For GNU Emacs

This commit is contained in:
Derek Taylor
2021-04-15 23:53:01 -05:00
parent f1596e7e3d
commit b5a6f444e0
2 changed files with 11 additions and 7 deletions

View File

@@ -113,10 +113,11 @@ font:
# family: CodeNewRoman Nerd Font # family: CodeNewRoman Nerd Font
# family: RobotoMono Nerd Font # family: RobotoMono Nerd Font
# family: Hack # family: Hack
family: JetBrains Mono # family: JetBrains Mono
# family: UbuntuMono Nerd Font # family: UbuntuMono Nerd Font
# family: Monofur Nerd Font # family: Monofur Nerd Font
# family: TerminessTTF Nerd Font # family: TerminessTTF Nerd Font
family: Mononoki Nerd Font
# The `style` can be specified to pick a specific face. # The `style` can be specified to pick a specific face.
style: Regular style: Regular
@@ -131,10 +132,11 @@ font:
# family: CodeNewRoman Nerd Font # family: CodeNewRoman Nerd Font
# family: RobotoMono Nerd Font # family: RobotoMono Nerd Font
# family: Hack # family: Hack
family: JetBrains Mono # family: JetBrains Mono
# family: UbuntuMono Nerd Font # family: UbuntuMono Nerd Font
# family: Monofur Nerd Font # family: Monofur Nerd Font
# family: TerminessTTF Nerd Font # family: TerminessTTF Nerd Font
family: Mononoki Nerd Font
# The `style` can be specified to pick a specific face. # The `style` can be specified to pick a specific face.
style: Bold style: Bold
@@ -149,10 +151,11 @@ font:
# family: CodeNewRoman Nerd Font # family: CodeNewRoman Nerd Font
# family: RobotoMono Nerd Font # family: RobotoMono Nerd Font
# family: Hack # family: Hack
family: JetBrains Mono # family: JetBrains Mono
# family: UbuntuMono Nerd Font # family: UbuntuMono Nerd Font
# family: Monofuritalic Nerd Font Mono # family: Monofuritalic Nerd Font Mono
# family: TerminessTTF Nerd Font # family: TerminessTTF Nerd Font
family: Mononoki Nerd Font
# The `style` can be specified to pick a specific face. # The `style` can be specified to pick a specific face.
style: Italic style: Italic
@@ -167,10 +170,11 @@ font:
# family: CodeNewRoman Nerd Font # family: CodeNewRoman Nerd Font
# family: RobotoMono Nerd Font # family: RobotoMono Nerd Font
# family: Hack # family: Hack
family: JetBrains Mono # family: JetBrains Mono
# family: UbuntuMono Nerd Font # family: UbuntuMono Nerd Font
# family: Monofuritalic Nerd Font Mono # family: Monofuritalic Nerd Font Mono
# family: TerminessTTF Nerd Font # family: TerminessTTF Nerd Font
family: Mononoki Nerd Font
# The `style` can be specified to pick a specific face. # The `style` can be specified to pick a specific face.
style: Bold Italic style: Bold Italic

View File

@@ -227,13 +227,13 @@ Defining our fonts.
** Setting The Font Face ** Setting The Font Face
#+begin_src emacs-lisp #+begin_src emacs-lisp
(set-face-attribute 'default nil (set-face-attribute 'default nil
:font "JetBrains Mono 11" :font "Mononoki Nerd Font 11"
:weight 'medium) :weight 'medium)
(set-face-attribute 'variable-pitch nil (set-face-attribute 'variable-pitch nil
:font "Ubuntu Nerd Font 11" :font "Ubuntu Nerd Font 11"
:weight 'medium) :weight 'medium)
(set-face-attribute 'fixed-pitch nil (set-face-attribute 'fixed-pitch nil
:font "JetBrains Mono 11" :font "Mononoki Nerd Font 11"
:weight 'medium) :weight 'medium)
;; Makes commented text italics (working in emacsclient but not emacs) ;; Makes commented text italics (working in emacsclient but not emacs)
(set-face-attribute 'font-lock-comment-face nil (set-face-attribute 'font-lock-comment-face nil
@@ -246,7 +246,7 @@ Defining our fonts.
(setq-default line-spacing 0.12) (setq-default line-spacing 0.12)
;; Needed if using emacsclient. Otherwise, your fonts will be smaller than expected. ;; Needed if using emacsclient. Otherwise, your fonts will be smaller than expected.
(add-to-list 'default-frame-alist '(font . "JetBrains Mono 11")) (add-to-list 'default-frame-alist '(font . "Mononoki Nerd Font 11"))
;; changes certain keywords to symbols, such as lamda! ;; changes certain keywords to symbols, such as lamda!
(setq global-prettify-symbols-mode t) (setq global-prettify-symbols-mode t)
#+end_src #+end_src