feat(gs/emacs): Disable truncate-lines in org mode

Change-Id: Ie1a539d894ae6223196f9e5b912317a00716ba72
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2067
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
This commit is contained in:
Griffin Smith 2020-11-02 14:04:13 -05:00 committed by glittershark
parent ac5ba13dce
commit b8c50979dd
2 changed files with 13 additions and 6 deletions

View file

@ -123,6 +123,12 @@
org-babel-clojure-backend 'cider)
(defun +grfn/org-setup ()
(setq-local truncate-lines -1)
(line-number-mode -1))
(add-hook 'org-mode-hook #'+grfn/org-setup)
(defun +grfn/insert-work-template ()
(interactive)
(goto-char (point-min))