2022-11-23 22:33:43 +00:00
|
|
|
(defun me/org-mode ()
|
|
|
|
"My custom configuration for 'org-mode'."
|
|
|
|
(olivetti-mode)
|
|
|
|
(olivetti-set-width 80)
|
2022-12-22 12:00:54 +00:00
|
|
|
(setq cursor-type 'bar)
|
2022-11-23 22:33:43 +00:00
|
|
|
)
|
|
|
|
(add-hook 'org-mode-hook 'me/org-mode)
|
|
|
|
|
|
|
|
(defun me/write ()
|
|
|
|
(get-buffer-create "*Writing Mode*")
|
|
|
|
(switch-to-buffer "*Writing Mode*")
|
|
|
|
(org-mode))
|