diff options
author | Griffin Smith <grfn@gws.fyi> | 2020-11-02T19·04-0500 |
---|---|---|
committer | glittershark <grfn@gws.fyi> | 2020-11-04T15·29+0000 |
commit | b8c50979ddffb6b81c8bf44749603cdc77c1e0c9 (patch) | |
tree | 71dc7d84c4c98f6e8221aa6c074e32294659835f /users/glittershark/emacs.d/org-config.el | |
parent | ac5ba13dceb63ab63fc0dd329cdfead90afdaa9d (diff) |
feat(gs/emacs): Disable truncate-lines in org mode r/1868
Change-Id: Ie1a539d894ae6223196f9e5b912317a00716ba72 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2067 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
Diffstat (limited to '')
-rw-r--r-- | users/glittershark/emacs.d/org-config.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/users/glittershark/emacs.d/org-config.el b/users/glittershark/emacs.d/org-config.el index 9ca5746ed8a7..59953dfeaaa0 100644 --- a/users/glittershark/emacs.d/org-config.el +++ b/users/glittershark/emacs.d/org-config.el @@ -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)) |