diff options
-rw-r--r-- | emacs | 6 |
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 ?·) |