18 lines
456 B
EmacsLisp
18 lines
456 B
EmacsLisp
(defun me/org-mode ()
|
|
"My custom configuration for 'org-mode'."
|
|
(olivetti-mode)
|
|
(olivetti-set-width 80)
|
|
(setq cursor-type 'bar)
|
|
)
|
|
(add-hook 'org-mode-hook 'me/org-mode)
|
|
|
|
(defun me/write ()
|
|
(get-buffer-create "*Writing Mode*")
|
|
(switch-to-buffer "*Writing Mode*")
|
|
(org-mode))
|
|
|
|
(setq-default
|
|
functions-file (concat (or (getenv "XDG_CONFIG_HOME") "~/.emacs.d/") "kustomize.el"))
|
|
(when (file-exists-p functions-file)
|
|
(load functions-file))
|