diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2021-11-13 14:44:54 +0000 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2021-11-13 14:58:18 +0000 |
| commit | 842cb58dec64c723704fec93b3f9827db6518e6e (patch) | |
| tree | 90bfef3ac354cb5b11922c6311aff97d18ea064f /emacs/init.el | |
| parent | e61588aa59ece88fe646c41d4d3da97c0e8a4e55 (diff) | |
emacs: Move GUI customization to early-init.el
This seems to fix most “flickering” issues seen on macOS.
Diffstat (limited to 'emacs/init.el')
| -rw-r--r-- | emacs/init.el | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/emacs/init.el b/emacs/init.el index dd8fdbf..3f7e287 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -34,27 +34,17 @@ (auto-save-mode -1) (auto-save-visited-mode 1) +(blink-cursor-mode -1) (column-number-mode 1) (display-time-mode 1) (electric-indent-mode -1) (global-auto-revert-mode 1) -(menu-bar-mode -1) -(show-paren-mode 1) -(tool-bar-mode -1) (add-to-list 'auto-mode-alist '("\\.service\\'" . conf-mode)) (add-to-list 'auto-mode-alist '("\\.socket\\'" . conf-mode)) (add-to-list 'auto-mode-alist '("\\.timer\\'" . conf-mode)) (add-to-list 'auto-mode-alist '("/PKGBUILD\\'" . shell-script-mode)) -(add-to-list 'default-frame-alist '(height . 40)) -(add-to-list 'default-frame-alist '(left . 0.5)) -(add-to-list 'default-frame-alist '(top . 0.5)) -(add-to-list 'default-frame-alist '(width . 160)) (add-to-list 'magic-mode-alist '("#compdef .+" . sh-mode)) -(when (display-graphic-p) - (blink-cursor-mode -1) - (scroll-bar-mode -1)) - (defvar awhk-day-theme nil "Theme to use during the day.") (defvar awhk-night-theme nil "Theme to use during the night.") |
