From b246fd42d9b0b8f927e15b12be321135edc1aa40 Mon Sep 17 00:00:00 2001 From: Ryan Kes <> Date: Thu, 17 Dec 2020 17:27:25 +0100 Subject: [PATCH] feat(emacs): borrowed a couple of things from distrotubes config --- emacs/.config/doom/config.org | 7 ++++--- emacs/.config/doom/init.el | 4 +++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/emacs/.config/doom/config.org b/emacs/.config/doom/config.org index 45c1d1b..56bc38d 100644 --- a/emacs/.config/doom/config.org +++ b/emacs/.config/doom/config.org @@ -1,6 +1,6 @@ * Table of Contents :TOC_3:noexport: - [[#general-settings][General settings]] - - [[#variable-font-sizes-depending-on-screen-width-set-font-to-hack][Variable font sizes depending on screen width. Set font to Hack.]] + - [[#variable-font-sizes-depending-on-screen-width-set-font-to-jetbrains-mono][Variable font sizes depending on screen width. Set font to JetBrains Mono.]] - [[#theme-is-set-to-doom-molokai-from-doom-themes][Theme is set to doom-molokai from doom-themes]] - [[#fetch-password-from-authinfo][Fetch password from authinfo]] - [[#set-relative-line-numbers][Set relative line numbers]] @@ -36,7 +36,7 @@ - [[#open-mdx-files-in-markdown-mode][Open mdx files in markdown-mode]] * General settings -** Variable font sizes depending on screen width. Set font to [[https://sourcefoundry.org/hack/][Hack]]. +** Variable font sizes depending on screen width. Set font to JetBrains Mono. #+BEGIN_SRC emacs-lisp (defun set-font (font-size bigfont-size) (setq doom-font (font-spec :family "JetBrainsMono Nerd Font" :size font-size)) @@ -77,7 +77,7 @@ (use-package! projectile :defer t :config - (setq projectile-project-search-path '("~/devel/personal/" "~/devel/andthensome/" "~/Documents/" "~/dotfiles" "~/private-dotfiles", "~/devel/slip-box/"))) ; Default paths + (setq projectile-project-search-path '("~/devel/personal/" "~/devel/andthensome/" "~/Documents/" "~/dotfiles" "~/private-dotfiles", "~/devel/slip-box/", "~/devel/andthensome/clients/"))) ; Default paths #+END_SRC * [[https://github.com/jorgenschaefer/circe][Circe]] ** Connect to [[https://wiki.znc.in/ZNC][ZNC]]. Passwords are gotten from [[https://www.passwordstore.org/][Password Store]]. @@ -135,6 +135,7 @@ (setq org-directory "~/Documents/org" org-agenda-files (directory-files-recursively "~/Documents/org/" "\.org$") org-log-done 'note + org-default-notes-file (expand-file-name "inbox.org" org-directory) org-startup-with-inline-images t) #+END_SRC ** [[https://github.com/alphapapa/org-protocol-capture-html][org-protocol-capture-html]] diff --git a/emacs/.config/doom/init.el b/emacs/.config/doom/init.el index 2e77a81..e324e97 100644 --- a/emacs/.config/doom/init.el +++ b/emacs/.config/doom/init.el @@ -16,6 +16,7 @@ deft doom ; what makes DOOM look the way it does doom-dashboard ; a nifty splash screen for Emacs + (emoji + unicode) ; ☺ hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW modeline ; snazzy, Atom-inspired modeline, plus API ;;nav-flash ; blink the current line after jumping @@ -45,8 +46,8 @@ (dired +icons +ranger) electric (ibuffer +icons) - vc (undo +tree) + vc :term ;;eshell ; a consistent, cross-platform shell (WIP) @@ -64,6 +65,7 @@ (docker +lsp) editorconfig (eval +overlay) + lookup lsp magit make