mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-23 19:40:24 +10:00
GNU Emacs config from video: Leaving Doom For GNU Emacs
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user