From 52d27de344fd261909c559f261fb94e768915146 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Sun, 19 Sep 2021 16:28:44 -0400 Subject: [PATCH] Cleanup hydra and font configs --- README.org | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.org b/README.org index 8621a35..6a06e69 100644 --- a/README.org +++ b/README.org @@ -1578,7 +1578,7 @@ let <> <> <> - <> + <> <> <> <> @@ -2124,25 +2124,25 @@ epkgs.magit "gp" '(magit-pull :which-key "Pull")) #+END_SRC -** Fonts +** Hydra -#+NAME: emacs-fonts-package +#+NAME: emacs-hydra-package #+BEGIN_SRC nix epkgs.hydra #+END_SRC +[[https://github.com/abo-abo/hydra][Hydra]] allows you to create keymaps for related commands, with the ability to easily repeat commands using a single keystroke. + +** Fonts + +[[https://typeof.net/Iosevka][Iosevka]] is an open-source, sans-serif + slab-serif, monospace + quasi-proportional typeface family, designed for writing code, using in terminals, and preparing technical documents. Configure it as the default font face inside of [[https://gnu.org/software/emacs/][Emacs]] and define a [[https://github.com/abo-abo/hydra][Hydra]] command for quickly scaling text. + #+NAME: emacs-fonts-elisp #+BEGIN_SRC emacs-lisp ;; Configure the font when running as `emacs-server'. (custom-set-faces '(default ((t (:inherit nil :height 120 :family "Iosevka"))))) -;; Set all three of Emacs' font faces. -;; NOTE: This only works without `emacs-server'. -;; (set-face-attribute 'default nil :font "Iosevka" :height 120) -;; (set-face-attribute 'fixed-pitch nil :font "Iosevka" :height 120) -;; (set-face-attribute 'variable-pitch nil :font "Iosevka" :height 120) - ;; Define a `hydra' function for scaling the text interactively. (defhydra hydra-text-scale (:timeout 4) "Scale the text in the current buffer."