Slight tweaks to custom org mode, hide modeline

This commit is contained in:
Gabriel Simmer 2022-12-22 12:00:54 +00:00
parent e7c8b5baa9
commit 278c3f6adb
Signed by: arch
GPG key ID: C81B106D46C5B875
2 changed files with 8 additions and 5 deletions

View file

@ -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)

View file

@ -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))