diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2020-06-21 19:36:52 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2020-06-21 20:09:32 +0100 |
| commit | b61b096f127cb1c6f8f9b17f2f7efe4395ff3bf1 (patch) | |
| tree | b79808155170bf6b566cdfc8aac61854f680d4f2 /emacs | |
| parent | 33a565e7b3b28a7b64cc6fdeffa64267f385b39e (diff) | |
emacs: Disable a few modes when in graphical mode
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/init.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el index a9ac4aa..afed84d 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -41,6 +41,11 @@ (add-to-list 'ido-ignore-files "__pycache__") (add-to-list 'magic-mode-alist '("#compdef .+" . sh-mode)) +(if (display-graphic-p) + (progn + (blink-cursor-mode -1) + (scroll-bar-mode -1))) + (require 'magit) (require 'evil-magit) |
