about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2024-06-10 23:20:04 -0500
committerCase Duckworth2024-06-10 23:20:04 -0500
commit98da09dfbf5a6267f6b455c2c53f0d777ae3b48f (patch)
tree60139b50148cb68a2979596fba2b2e2e44ce546b
parentUpdate init (diff)
downloaddots-98da09dfbf5a6267f6b455c2c53f0d777ae3b48f.tar.gz
dots-98da09dfbf5a6267f6b455c2c53f0d777ae3b48f.zip
Mess around with fixed-pitch-mode
-rw-r--r--emacs6
1 files changed, 4 insertions, 2 deletions
diff --git a/emacs b/emacs index a54028e..7fe6e9b 100644 --- a/emacs +++ b/emacs
@@ -64,9 +64,12 @@
64;; Fixed-pitch 64;; Fixed-pitch
65(package-ensure '(fixed-pitch-mode 65(package-ensure '(fixed-pitch-mode
66 :url "https://github.com/cstby/fixed-pitch-mode.git")) 66 :url "https://github.com/cstby/fixed-pitch-mode.git"))
67(setopt cursor-type 'bar)
68(require 'fixed-pitch) 67(require 'fixed-pitch)
68(setopt cursor-type 'bar)
69(setopt fixed-pitch-use-extended-default t)
69(add-to-list 'fixed-pitch-whitelist-hooks 'vc-dir-mode-hook) 70(add-to-list 'fixed-pitch-whitelist-hooks 'vc-dir-mode-hook)
71(hide-minor-mode 'buffer-face-mode)
72(add-hook 'fixed-pitch-mode-hook #'display-fill-column-indicator-mode)
70 73
71;;; Completions 74;;; Completions
72 75
@@ -422,7 +425,6 @@
422(add-hook 'after-save-hook #'executable-make-buffer-file-executable-if-script-p) 425(add-hook 'after-save-hook #'executable-make-buffer-file-executable-if-script-p)
423(add-hook 'prog-mode-hook #'auto-fill-mode) 426(add-hook 'prog-mode-hook #'auto-fill-mode)
424(add-hook 'prog-mode-hook #'electric-pair-local-mode) 427(add-hook 'prog-mode-hook #'electric-pair-local-mode)
425(global-display-fill-column-indicator-mode)
426(setopt x-underline-at-descent-line t) 428(setopt x-underline-at-descent-line t)
427(setopt scroll-conservatively 101) 429(setopt scroll-conservatively 101)
428(setopt display-fill-column-indicator-character ?·) 430(setopt display-fill-column-indicator-character ?·)