mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-21 03:04:38 +10:00
GNU Emacs config from video: Leaving Doom For GNU Emacs
This commit is contained in:
@@ -113,11 +113,10 @@ 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: SauceCodePro 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
|
||||||
@@ -132,11 +131,10 @@ 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: SauceCodePro 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
|
||||||
@@ -151,11 +149,10 @@ 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: SauceCodePro 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
|
||||||
@@ -170,17 +167,16 @@ 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: SauceCodePro 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
|
||||||
|
|
||||||
# Point size
|
# Point size
|
||||||
size: 11.0
|
size: 12.0
|
||||||
|
|
||||||
# Offset is the extra space around each character. `offset.y` can be thought of
|
# 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.
|
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
|
||||||
|
|||||||
@@ -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 "Mononoki Nerd Font 12"
|
:font "JetBrains Mono 11"
|
||||||
:weight 'medium)
|
:weight 'medium)
|
||||||
(set-face-attribute 'variable-pitch nil
|
(set-face-attribute 'variable-pitch nil
|
||||||
:font "Ubuntu Nerd Font 12"
|
:font "Ubuntu Nerd Font 11"
|
||||||
:weight 'medium)
|
:weight 'medium)
|
||||||
(set-face-attribute 'fixed-pitch nil
|
(set-face-attribute 'fixed-pitch nil
|
||||||
:font "Mononoki Nerd Font 12"
|
:font "JetBrains Mono 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
|
||||||
@@ -243,10 +243,10 @@ Defining our fonts.
|
|||||||
:slant 'italic)
|
:slant 'italic)
|
||||||
|
|
||||||
;; Uncomment the following line if line spacing needs adjusting.
|
;; 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.
|
;; 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!
|
;; changes certain keywords to symbols, such as lamda!
|
||||||
(setq global-prettify-symbols-mode t)
|
(setq global-prettify-symbols-mode t)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|||||||
BIN
.emacs.d/emacs-dash.png
Normal file
BIN
.emacs.d/emacs-dash.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
Reference in New Issue
Block a user