GNU Emacs config from video: Leaving Doom For GNU Emacs

This commit is contained in:
Derek Taylor 2021-04-15 23:40:05 -05:00
parent eb25b133fa
commit f1596e7e3d
3 changed files with 10 additions and 14 deletions

View File

@ -113,11 +113,10 @@ font:
# family: CodeNewRoman Nerd Font
# family: RobotoMono Nerd Font
# family: Hack
# family: JetBrains Mono
family: JetBrains Mono
# family: UbuntuMono Nerd Font
# family: Monofur Nerd Font
# family: TerminessTTF Nerd Font
family: SauceCodePro Nerd Font
# The `style` can be specified to pick a specific face.
style: Regular
@ -132,11 +131,10 @@ font:
# family: CodeNewRoman Nerd Font
# family: RobotoMono Nerd Font
# family: Hack
# family: JetBrains Mono
family: JetBrains Mono
# family: UbuntuMono Nerd Font
# family: Monofur Nerd Font
# family: TerminessTTF Nerd Font
family: SauceCodePro Nerd Font
# The `style` can be specified to pick a specific face.
style: Bold
@ -151,11 +149,10 @@ font:
# family: CodeNewRoman Nerd Font
# family: RobotoMono Nerd Font
# family: Hack
# family: JetBrains Mono
family: JetBrains Mono
# family: UbuntuMono Nerd Font
# family: Monofuritalic Nerd Font Mono
# family: TerminessTTF Nerd Font
family: SauceCodePro Nerd Font
# The `style` can be specified to pick a specific face.
style: Italic
@ -170,17 +167,16 @@ font:
# family: CodeNewRoman Nerd Font
# family: RobotoMono Nerd Font
# family: Hack
# family: JetBrains Mono
family: JetBrains Mono
# family: UbuntuMono Nerd Font
# family: Monofuritalic Nerd Font Mono
# family: TerminessTTF Nerd Font
family: SauceCodePro Nerd Font
# The `style` can be specified to pick a specific face.
style: Bold Italic
# Point size
size: 11.0
size: 12.0
# Offset is the extra space around each character. `offset.y` can be thought of
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.

View File

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

BIN
.emacs.d/emacs-dash.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB