From 98da09dfbf5a6267f6b455c2c53f0d777ae3b48f Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 10 Jun 2024 23:20:04 -0500 Subject: Mess around with fixed-pitch-mode --- emacs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'emacs') diff --git a/emacs b/emacs index a54028e..7fe6e9b 100644 --- a/emacs +++ b/emacs @@ -64,9 +64,12 @@ ;; Fixed-pitch (package-ensure '(fixed-pitch-mode :url "https://github.com/cstby/fixed-pitch-mode.git")) -(setopt cursor-type 'bar) (require 'fixed-pitch) +(setopt cursor-type 'bar) +(setopt fixed-pitch-use-extended-default t) (add-to-list 'fixed-pitch-whitelist-hooks 'vc-dir-mode-hook) +(hide-minor-mode 'buffer-face-mode) +(add-hook 'fixed-pitch-mode-hook #'display-fill-column-indicator-mode) ;;; Completions @@ -422,7 +425,6 @@ (add-hook 'after-save-hook #'executable-make-buffer-file-executable-if-script-p) (add-hook 'prog-mode-hook #'auto-fill-mode) (add-hook 'prog-mode-hook #'electric-pair-local-mode) -(global-display-fill-column-indicator-mode) (setopt x-underline-at-descent-line t) (setopt scroll-conservatively 101) (setopt display-fill-column-indicator-character ?ยท) -- cgit 1.4.1-21-gabe81