Slight tweaks to custom org mode, hide modeline
This commit is contained in:
parent
e7c8b5baa9
commit
278c3f6adb
|
@ -2,6 +2,7 @@
|
||||||
"My custom configuration for 'org-mode'."
|
"My custom configuration for 'org-mode'."
|
||||||
(olivetti-mode)
|
(olivetti-mode)
|
||||||
(olivetti-set-width 80)
|
(olivetti-set-width 80)
|
||||||
|
(setq cursor-type 'bar)
|
||||||
)
|
)
|
||||||
(add-hook 'org-mode-hook 'me/org-mode)
|
(add-hook 'org-mode-hook 'me/org-mode)
|
||||||
|
|
||||||
|
|
|
@ -67,16 +67,18 @@
|
||||||
("C-c p" . projectile-command-map)))
|
("C-c p" . projectile-command-map)))
|
||||||
|
|
||||||
(use-package magit :straight t)
|
(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
|
(use-package treemacs
|
||||||
:straight t
|
:straight t
|
||||||
:init (with-eval-after-load 'winum
|
: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
|
:bind
|
||||||
(:map global-map
|
(:map global-map
|
||||||
("M-0" . treemacs-select-window)
|
("M-0" . treemacs-select-window)
|
||||||
("C-x t t" . treemacs)
|
("C-x t t" . treemacs)
|
||||||
("C-x t C-t" . treemacs-find-file)))
|
("C-x t C-t" . treemacs-find-file)))
|
||||||
(use-package treemacs-projectile
|
(use-package treemacs-projectile
|
||||||
:straight t
|
:straight t
|
||||||
:after (treemacs projectile))
|
:after (treemacs projectile))
|
||||||
|
|
Loading…
Reference in a new issue