diff options
author | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-12-22 14:14:20 -0600 |
---|---|---|
committer | Jacob Janzen <jacob.a.s.janzen@gmail.com> | 2024-12-22 14:14:20 -0600 |
commit | bc88a71ff7654c82f8414a78c767e3207961814f (patch) | |
tree | bdaedb51250bac85a911e5625384495b761d9b55 /common/.config/emacs/init.el.org | |
parent | 77fc41f4fdc931948a3cee32236bd5c29441fd17 (diff) |
system changes
Diffstat (limited to 'common/.config/emacs/init.el.org')
-rw-r--r-- | common/.config/emacs/init.el.org | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/common/.config/emacs/init.el.org b/common/.config/emacs/init.el.org index 38167e7..4e68350 100644 --- a/common/.config/emacs/init.el.org +++ b/common/.config/emacs/init.el.org @@ -84,8 +84,11 @@ Run the early setup right away. (setq jj/mono-font "SauceCodePro Nerd Font-14:weight=thin" jj/var-font "CMU Serif-18"))) (add-to-list 'default-frame-alist - `(font . ,jj/mono-font))) -#+end_src + `(font . ,jj/mono-font)) + (custom-set-faces + `(variable-pitch ((t :font ,jj/var-font))) + `(fixed-pitch ((t :font ,jj/mono-font))))) + #+end_src =jj/setup-theme= is the reason I use =straight= rather than just =use-package=. I have a custom Emacs theme that comes from my own fork of =doom-themes=. I also use =doom-modeline= and =nerd-icons= for a nicer-looking user interface and remove the title bar from the window along with any other unnecessary elements from the screen. =dired= is modified to use =nerd-icons= and colours. #+begin_src emacs-lisp @@ -155,7 +158,9 @@ Run the early setup right away. (defun jj/run-visual-line-mode () "run visual-line-mode" (visual-line-mode) - (visual-fill-column-mode)) + (visual-fill-column-mode) + (setq visual-fill-column-width 100 + visual-fill-column-center-text t)) (use-package visual-fill-column :hook (org-mode . jj/run-visual-line-mode) |