From 05b809af5a81afb9634503364219c1eb9c6199bb Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Mon, 22 Nov 2021 10:11:34 -0500 Subject: Update org settings --- emacs/.doom.d/config.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'emacs') diff --git a/emacs/.doom.d/config.el b/emacs/.doom.d/config.el index 556a2be..85937b2 100644 --- a/emacs/.doom.d/config.el +++ b/emacs/.doom.d/config.el @@ -26,6 +26,8 @@ (setq doom-theme 'doom-dark+) (when (equal "pincer" (system-name)) (setq doom-theme 'doom-one-light)) +(when (equal "orbekk" (system-name)) + (setq doom-themer 'doom-acario-light)) ;; 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! @@ -40,6 +42,7 @@ (setq org-agenda-files '("~/org/roam/todo.org")) (setq org-roam-directory (concat org-directory "/roam")) (setq org-roam-db-location (concat org-roam-directory "/org-roam.db")) +(setq org-export-with-toc nil) (setq deft-directory org-directory) (setq deft-recursive t) -- cgit v1.2.3 From aeaceeb18ef3bbc8a7856d1f35910c70dc505265 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Mon, 22 Nov 2021 11:59:42 -0500 Subject: tune avy settings to make it more responsive --- emacs/.doom.d/config.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'emacs') diff --git a/emacs/.doom.d/config.el b/emacs/.doom.d/config.el index 85937b2..55dae26 100644 --- a/emacs/.doom.d/config.el +++ b/emacs/.doom.d/config.el @@ -47,7 +47,8 @@ (setq deft-recursive t) ;; Allow more keys when navigating with avy. -(setq avy-keys (number-sequence ?a ?z)) +(setq avy-keys '(?a ?o ?e ?u ?d ?h ?n ?s ?l ?, ?. ?p ?r)) +(setq avy-timeout-seconds 0.3) (server-start) (remove-hook 'doom-first-buffer-hook #'smartparens-global-mode) -- cgit v1.2.3 From 413986e2e0b254cf93628e9d50f8ea42b1efc572 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Mon, 22 Nov 2021 12:54:34 -0500 Subject: Add proportional fonts in org-mode --- emacs/.doom.d/config.el | 6 +++++- emacs/.doom.d/init.el | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'emacs') diff --git a/emacs/.doom.d/config.el b/emacs/.doom.d/config.el index 55dae26..8015ac4 100644 --- a/emacs/.doom.d/config.el +++ b/emacs/.doom.d/config.el @@ -19,6 +19,7 @@ ;; They all accept either a font-spec, font string ("Input Mono-12"), or xlfd ;; font string. You generally only need these two: (setq doom-font (font-spec :family "iosevka" :size 14)) +(setq doom-variable-pitch-font (font-spec :family "Noto Serif" :size 14)) ;; There are two ways to load a theme. Both assume the theme is installed and ;; available. You can either set `doom-theme' or manually load a theme with the @@ -27,7 +28,7 @@ (when (equal "pincer" (system-name)) (setq doom-theme 'doom-one-light)) (when (equal "orbekk" (system-name)) - (setq doom-themer 'doom-acario-light)) + (setq doom-theme 'doom-acario-light)) ;; 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! @@ -56,4 +57,7 @@ (after! racket-mode (remove-hook! 'racket-mode #'racket-smart-open-bracket-mode)) +(after! org + (add-hook 'org-mode-hook 'mixed-pitch-mode)) + (load-file "~/.doom.d/config.local.el") diff --git a/emacs/.doom.d/init.el b/emacs/.doom.d/init.el index 16fa494..18e81b5 100644 --- a/emacs/.doom.d/init.el +++ b/emacs/.doom.d/init.el @@ -48,7 +48,7 @@ vi-tilde-fringe ; fringe tildes to mark beyond EOB window-select ; visually switch windows workspaces ; tab emulation, persistence & separate workspaces - ;;zen ; distraction-free coding or writing + zen ; distraction-free coding or writing (emoji +unicode) ; 😇 :editor -- cgit v1.2.3 From d36d3bdf2127005f5d2de3d523124dadc5d52919 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Mon, 22 Nov 2021 16:30:37 -0500 Subject: Update emacs config --- emacs/.doom.d/config.el | 8 +++++++- emacs/.doom.d/init.el | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'emacs') diff --git a/emacs/.doom.d/config.el b/emacs/.doom.d/config.el index 8015ac4..81c40b4 100644 --- a/emacs/.doom.d/config.el +++ b/emacs/.doom.d/config.el @@ -47,6 +47,7 @@ (setq deft-directory org-directory) (setq deft-recursive t) + ;; Allow more keys when navigating with avy. (setq avy-keys '(?a ?o ?e ?u ?d ?h ?n ?s ?l ?, ?. ?p ?r)) (setq avy-timeout-seconds 0.3) @@ -58,6 +59,11 @@ (remove-hook! 'racket-mode #'racket-smart-open-bracket-mode)) (after! org - (add-hook 'org-mode-hook 'mixed-pitch-mode)) + (add-hook 'org-mode-hook 'mixed-pitch-mode) + (setq org-roam-mode-section-functions + (list #'org-roam-backlinks-section + #'org-roam-reflinks-section + #'org-roam-unlinked-references-section + ))) (load-file "~/.doom.d/config.local.el") diff --git a/emacs/.doom.d/init.el b/emacs/.doom.d/init.el index 18e81b5..ccaad3f 100644 --- a/emacs/.doom.d/init.el +++ b/emacs/.doom.d/init.el @@ -46,7 +46,7 @@ ;;unicode ; extended unicode support for various languages vc-gutter ; vcs diff in the fringe vi-tilde-fringe ; fringe tildes to mark beyond EOB - window-select ; visually switch windows + (window-select +numbers) ; visually switch windows workspaces ; tab emulation, persistence & separate workspaces zen ; distraction-free coding or writing (emoji +unicode) ; 😇 -- cgit v1.2.3