Parcourir la Source

Configuration a bit more literate

Eiyeron Fulmincendii il y a 6 ans
Parent
commit
662fdaeaea
1 fichiers modifiés avec 27 ajouts et 9 suppressions
  1. 27 9
      config.org

+ 27 - 9
config.org

@@ -1,17 +1,35 @@
-Note : This is going to be merged with my Ducktato's configuration. Don't expect
-a lot of literacy rigt now
-* Look and Feel
-** Theme
+#+TITLE:Doomed Chicken
+
+* Preface
+This is another attempt at making a decent Emacs configuration for the chicken I
+am. Having multiple files with a poor consistence or a directed goal always bit
+me in the back relatively quickly. So this time, I'll try to write something
+documenting my process to warn my future me about my current configuration mishaps.
+* The first steps in the look&feel
+** The colors
+Lately, I have been partial towards Gruvbox, for multiple reasons, the first
+being that I was tired of all those blue themes. It's a warm colorscheme, it has
+a good contrast in most of the situations and I built my whole's old laptop UI
+based on Gruvbox. Good thing Doom Emacs has a preset for this specific
+colorscheme.
 #+begin_src emacs-lisp
 (setq doom-theme 'doom-gruvbox)
 #+end_src
-** Fonts
+** The fonts
+The other basic configuration I usually do first too is setting a font.
+PragmataPro has been my newest typographic friend as it's /really/ good for what
+it's made for: displaying text in a flexible yet consistent way. I really like
+the small touches like the ligatures
 #+begin_src emacs-lisp
-(setq base-size 12)
-(setq doom-font (font-spec :family "PragmataPro Mono Liga" :size base-size)
-      doom-variable-pitch-font (font-spec :family "PragmataPro Liga" :size base-size)
-      doom-big-font (font-spec :family "PragmataPro Mono Liga" :size (* base-size 2)))
+(let ((base-size 12))
+  (setq doom-font (font-spec :family "PragmataPro Mono Liga" :size base-size)
+        doom-variable-pitch-font (font-spec :family "PragmataPro Liga" :size base-size)
+        doom-unicode-font (font-spec :family "PragmataPro Liga" :size base-size)
+        doom-big-font (font-spec :family "PragmataPro Liga" :size (* base-size 2))))
 #+end_src
+PragmataPro's ligatures have been toggled within ~init.el~ though the
+~pretty-code~ layer and it's optional specialization for this font. No more
+setting is to be done for this font.
 ** Tweaks
 *** Gruvbox and Solaire-mode
 #+begin_quote