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)
|
(setf (alist-get 'file org-link-frame-setup) 'find-file-other-window)
|
||||||
(set-face-foreground 'org-block +solarized-s-base00)
|
(set-face-foreground 'org-block +solarized-s-base00)
|
||||||
|
|
||||||
(add-hook! org-mode
|
;; (add-hook! org-mode
|
||||||
(set-company-backend! 'org-mode
|
;; (set-company-backend! 'org-mode
|
||||||
'(:separate company-ob-postgresql
|
;; '(:separate company-ob-postgresql
|
||||||
company-dabbrev
|
;; company-dabbrev
|
||||||
company-yasnippet
|
;; company-yasnippet
|
||||||
company-ispell))))
|
;; company-ispell)))
|
||||||
|
)
|
||||||
|
|
||||||
(after! magit
|
(after! magit
|
||||||
(setq git-commit-summary-max-length 50))
|
(setq git-commit-summary-max-length 50))
|
||||||
|
|
|
@ -123,6 +123,12 @@
|
||||||
|
|
||||||
org-babel-clojure-backend 'cider)
|
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 ()
|
(defun +grfn/insert-work-template ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
|
|
Loading…
Reference in a new issue