about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--users/glittershark/emacs.d/config.el13
-rw-r--r--users/glittershark/emacs.d/org-config.el6
2 files changed, 13 insertions, 6 deletions
diff --git a/users/glittershark/emacs.d/config.el b/users/glittershark/emacs.d/config.el
index 532579b52c3f..504648eb7be9 100644
--- a/users/glittershark/emacs.d/config.el
+++ b/users/glittershark/emacs.d/config.el
@@ -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))
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))