2022-11-23 22:33:43 +00:00
|
|
|
(defun me/org-mode ()
|
|
|
|
"My custom configuration for 'org-mode'."
|
|
|
|
(olivetti-mode)
|
|
|
|
(olivetti-set-width 80)
|
2023-01-17 17:51:23 +00:00
|
|
|
(company-mode -1)
|
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))
|
2023-01-15 18:03:03 +00:00
|
|
|
|
|
|
|
(setq-default
|
|
|
|
functions-file (concat (or (getenv "XDG_CONFIG_HOME") "~/.emacs.d/") "kustomize.el"))
|
|
|
|
(when (file-exists-p functions-file)
|
|
|
|
(load functions-file))
|