From f2a5f0b59ea5863babec668c6fab12ad2f19f406 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 15 Nov 2022 17:24:34 +0000 Subject: to accommodate latest Doom changes --- doom.d/config.el | 17 +++++++++++------ 1 file 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)) -- cgit v1.2.3