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:
parent
ac5ba13dce
commit
b8c50979dd
2 changed files with 13 additions and 6 deletions
|
@ -391,12 +391,13 @@
|
|||
(setf (alist-get 'file org-link-frame-setup) 'find-file-other-window)
|
||||
(set-face-foreground 'org-block +solarized-s-base00)
|
||||
|
||||
(add-hook! org-mode
|
||||
(set-company-backend! 'org-mode
|
||||
'(:separate company-ob-postgresql
|
||||
company-dabbrev
|
||||
company-yasnippet
|
||||
company-ispell))))
|
||||
;; (add-hook! org-mode
|
||||
;; (set-company-backend! 'org-mode
|
||||
;; '(:separate company-ob-postgresql
|
||||
;; company-dabbrev
|
||||
;; company-yasnippet
|
||||
;; company-ispell)))
|
||||
)
|
||||
|
||||
(after! magit
|
||||
(setq git-commit-summary-max-length 50))
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue