aboutsummaryrefslogtreecommitdiffstats
path: root/doom.d
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-11-15 17:24:34 +0000
committerMatthew Lemon <matt@matthewlemon.com>2022-11-15 17:24:34 +0000
commitf2a5f0b59ea5863babec668c6fab12ad2f19f406 (patch)
tree2296339a7f2dab67113ec279ea6068ca039a10b6 /doom.d
parentbb1565e03bd9aca8117d6ed2894fa60e529130ee (diff)
to accommodate latest Doom changes
Diffstat (limited to '')
-rw-r--r--doom.d/config.el17
1 files changed, 11 insertions, 6 deletions
diff --git a/doom.d/config.el b/doom.d/config.el
index 2fa7748..12b51f2 100644
--- a/doom.d/config.el
+++ b/doom.d/config.el
@@ -44,9 +44,11 @@ matt@matthewlemon.com")
;; numbers are disabled. For relative line numbers, set this to `relative'.
(setq display-line-numbers-type `relative)
-;; If you use `org' and don't want your org files in the default location below,
-;; change `org-directory'. It must be set before org loads!
-;;
+(setq undo-limit 8000000) ; raise limit to 80Mb
+(setq truncate-string-ellipsis "…") ; better than using dots
+(setq scroll-preserve-screen-position 'always) ; experimental
+(setq scroll-margin 3) ; bit of space
+
;; --------------------
;; Some of my own stuff
;; --------------------
@@ -74,11 +76,11 @@ matt@matthewlemon.com")
(global-unset-key (kbd "C-x C-b")) ;; we don't want the old buffer list!
;; Swiper
-(use-package swiper
- :bind ("C-s" . 'swiper-isearch))
+;; (use-package swiper
+;; :bind ("C-s" . 'swiper-isearch))
;; org-roam
-(use-package org-roam
+(use-package! org-roam
:custom
(org-roam-dailies-directory "daily/")
(org-roam-directory "~/org-roam")
@@ -99,6 +101,9 @@ matt@matthewlemon.com")
(org-roam-db-autosync-mode))
;; Basic agenda stuff
+;; If you use `org' and don't want your org files in the default location below,
+;; change `org-directory'. It must be set before org loads!
+(setq org-directory "~/org/")
(after! org
(setq org-modules '(org-habit ol-bibtex))