commit 6fc4a973e2d6dde899e2413b5b3a914c06feba9b
parent 59eb17d19d8ade83ebc39e1991af9da5bbd344de
Author: Vincent Demeester <vincent@sbr.pm>
Date: Wed, 8 Apr 2020 08:45:22 +0200
config-appearance.el: re-enable hide-mode-line-mode
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/tools/emacs/config/config-appearance.el b/tools/emacs/config/config-appearance.el
@@ -50,6 +50,8 @@
use-dialog-box nil
echo-keystrokes 0.1
line-number-display-limit-width 10000
+ indicate-buffer-boundaries 'left
+ indicate-empty-lines +1
display-time-world-list '(("Europe/London" "London")
("Europe/Paris" "Paris")
("America/New_York" "Boston")
@@ -63,14 +65,17 @@
(global-unset-key (kbd "C-x C-z"))
(global-unset-key (kbd "C-h h")))
-;;; Theme
+;; SafeTheme
(setq custom-safe-themes t) ; Treat themes as safe
+;; -SafeTheme
+;; UseTheme
(use-package shortbrain-light-theme
:config
(load-theme 'shortbrain-light))
+;; -UseTheme
-
+;; UseMoody
(use-package moody
:config
(setq-default x-underline-at-descent-line t
@@ -142,5 +147,12 @@
(moody-replace-mode-line-buffer-identification)
(moody-replace-vc-mode))
+;; -UseMoody
+
+;; UseHideModeLine
+(use-package hide-mode-line-mode
+ :commands hide-mode-line-mode
+ :hook (((completion-list-mode completion-in-region-mode) . hide-mode-line-mode)))
+;; -UseHideModeLine
;;; appearance.el ends here
diff --git a/tools/emacs/config/setup-style.el b/tools/emacs/config/setup-style.el
@@ -24,9 +24,6 @@
(add-hook 'shell-mode-hook #'generic-term-init)
(add-hook 'eshell-mode-hook #'generic-term-init)
- (setq-default indicate-buffer-boundaries 'left)
- (setq-default indicate-empty-lines +1)
-
(use-package highlight-numbers
:hook (prog-mode . highlight-numbers-mode))
@@ -50,9 +47,6 @@
(use-package visual-fill-column
:commands visual-fill-column-mode)
- (use-package hide-mode-line-mode
- :commands hide-mode-line-mode)
-
(defun set-light-theme ()
"Set the light theme with some customization if needed."
(interactive)