From 278c3f6adbd11ff58df021d750c46b1030645221 Mon Sep 17 00:00:00 2001 From: Gabriel Simmer Date: Thu, 22 Dec 2022 12:00:54 +0000 Subject: [PATCH] Slight tweaks to custom org mode, hide modeline --- .emacs.d/functions.el | 1 + .emacs.d/init.el | 12 +++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.emacs.d/functions.el b/.emacs.d/functions.el index fb433a3..55b3a26 100644 --- a/.emacs.d/functions.el +++ b/.emacs.d/functions.el @@ -2,6 +2,7 @@ "My custom configuration for 'org-mode'." (olivetti-mode) (olivetti-set-width 80) + (setq cursor-type 'bar) ) (add-hook 'org-mode-hook 'me/org-mode) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 0c05a51..d444009 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -67,16 +67,18 @@ ("C-c p" . projectile-command-map))) (use-package magit :straight t) - +(use-package hide-mode-line :straight t) +(add-hook 'org-mode-hook #'hide-mode-line-mode) +(add-hook 'treemacs-mode-hook #'hide-mode-line-mode) (use-package treemacs :straight t :init (with-eval-after-load 'winum - (define-key winum-keymap (kbd "M-0") #'treemacs-select-window)) + (define-key winum-keymap (kbd "M-0") #'treemacs-select-window)) :bind (:map global-map - ("M-0" . treemacs-select-window) - ("C-x t t" . treemacs) - ("C-x t C-t" . treemacs-find-file))) + ("M-0" . treemacs-select-window) + ("C-x t t" . treemacs) + ("C-x t C-t" . treemacs-find-file))) (use-package treemacs-projectile :straight t :after (treemacs projectile))