Set up all faces in configuration.org
This commit is contained in:
parent
47bfbd2457
commit
a285834fbb
@ -102,6 +102,16 @@
|
|||||||
(cursor-type 'bar))
|
(cursor-type 'bar))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
** Set up some default faces
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package faces
|
||||||
|
:ensure nil
|
||||||
|
:custom-face
|
||||||
|
(default ((t (:family "Hack" :foundry "simp" :slant normal :weight normal :height 98 :width normal))))
|
||||||
|
(trailing-whitespace ((t (:inherit nil :background "red3")))))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** Set up my personal keymap
|
** Set up my personal keymap
|
||||||
|
|
||||||
I set it up early so i can use it in ~use-package~ calls immediately.
|
I set it up early so i can use it in ~use-package~ calls immediately.
|
||||||
@ -1462,7 +1472,9 @@ Because I’m a sysadmin, too.
|
|||||||
(([f10] . whitespace-mode)
|
(([f10] . whitespace-mode)
|
||||||
([(shift f10)] . global-whitespace-mode)
|
([(shift f10)] . global-whitespace-mode)
|
||||||
:map gpolonkai/pers-map
|
:map gpolonkai/pers-map
|
||||||
("w" . whitespace-cleanup)))
|
("w" . whitespace-cleanup))
|
||||||
|
:custom-face
|
||||||
|
(whitespace-line ((t (:inherit nil :background "orange4")))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** ~eshell~
|
** ~eshell~
|
||||||
@ -1832,7 +1844,9 @@ Highlight point. Sometimes it’s not easy to see.
|
|||||||
(use-package hl-line
|
(use-package hl-line
|
||||||
:config
|
:config
|
||||||
(when window-system
|
(when window-system
|
||||||
(global-hl-line-mode)))
|
(global-hl-line-mode))
|
||||||
|
:custom-face
|
||||||
|
(hl-line ((t (:inherit nil :background "gray25")))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** GNU Globals
|
** GNU Globals
|
||||||
@ -2054,7 +2068,9 @@ window.
|
|||||||
t)
|
t)
|
||||||
:bind
|
:bind
|
||||||
(:map ctl-x-map
|
(:map ctl-x-map
|
||||||
("o" . ace-window)))
|
("o" . ace-window))
|
||||||
|
:custom-face
|
||||||
|
(aw-leading-char-face ((t (:inherit ace-jump-face-foreground :height 2.0)))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Golden ratio
|
** Golden ratio
|
||||||
@ -3048,6 +3064,20 @@ Because that’s still my favourite language.
|
|||||||
|
|
||||||
* Org mode
|
* Org mode
|
||||||
|
|
||||||
|
** Outline mode
|
||||||
|
|
||||||
|
This is mostly needed for customizing faces.
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package outline
|
||||||
|
:ensure nil
|
||||||
|
:custom-face
|
||||||
|
(outline-1 ((t (:inherit font-lock-function-name-face :overline t :weight bold :height 1.2))))
|
||||||
|
(outline-2 ((t (:inherit font-lock-variable-name-face :overline t :weight bold :height 1.1))))
|
||||||
|
(outline-3 ((t (:inherit font-lock-keyword-face :overline t :weight bold)))))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
** The main Org config
|
||||||
This is a big one; I use a lot of customisation here.
|
This is a big one; I use a lot of customisation here.
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
Loading…
Reference in New Issue
Block a user