diff options
Diffstat (limited to 'early-init.el')
-rw-r--r-- | early-init.el | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/early-init.el b/early-init.el index b8a6c6c..1a26b03 100644 --- a/early-init.el +++ b/early-init.el | |||
@@ -14,6 +14,7 @@ | |||
14 | 14 | ||
15 | ;;; Code: | 15 | ;;; Code: |
16 | 16 | ||
17 | (message "%s..." "Loading early-init.el") | ||
17 | ;; BOOTSTRAP PACKAGE MANAGEMENT | 18 | ;; BOOTSTRAP PACKAGE MANAGEMENT |
18 | (let ((win-app-dir "~/Applications")) | 19 | (let ((win-app-dir "~/Applications")) |
19 | (dolist (path (list | 20 | (dolist (path (list |
@@ -85,5 +86,38 @@ | |||
85 | (horizontal-scroll-bar-mode -1) | 86 | (horizontal-scroll-bar-mode -1) |
86 | (setq-default frame-inhibit-implied-resize t | 87 | (setq-default frame-inhibit-implied-resize t |
87 | frame-resize-pixelwise t) | 88 | frame-resize-pixelwise t) |
89 | (setq-default indicate-empty-lines t) | ||
90 | (setq-default indicate-buffer-boundaries 'right) | ||
91 | (setq-default visual-line-fringe-indicators '(left-curly-arrow nil)) | ||
92 | (defun hook--setup-fringes-curly-arrows () | ||
93 | "Set up curly-arrow fringes." | ||
94 | (define-fringe-bitmap 'left-curly-arrow | ||
95 | [#b11000000 | ||
96 | #b01100000 | ||
97 | #b00110000 | ||
98 | #b00011000]) | ||
88 | 99 | ||
100 | (define-fringe-bitmap 'right-curly-arrow | ||
101 | [#b00011000 | ||
102 | #b00110000 | ||
103 | #b01100000 | ||
104 | #b11000000])) | ||
105 | |||
106 | (add-hook 'after-init-hook #'hook--setup-fringes-curly-arrows) | ||
107 | (defun hook--setup-fringes-arrows () | ||
108 | "Setup arrow fringe bitmaps." | ||
109 | (define-fringe-bitmap 'left-arrow | ||
110 | [#b00000000 | ||
111 | #b01010100 | ||
112 | #b01010100 | ||
113 | #b00000000]) | ||
114 | |||
115 | (define-fringe-bitmap 'right-arrow | ||
116 | [#b00000000 | ||
117 | #b00101010 | ||
118 | #b00101010 | ||
119 | #b00000000])) | ||
120 | |||
121 | (add-hook 'after-init-hook #'hook--setup-fringes-arrows) | ||
122 | (message "%s... Done." "Loading early-init.el") | ||
89 | ;;; early-init.el ends here | 123 | ;;; early-init.el ends here |