M config.el => config.el
@@ 1,47 1,69 @@
;;; $DOOMDIR/config.el -*- lexical-binding: t; -*-
(setq user-full-name "Daniil Rose"
;; I keep all my org mode notes synced with my iPad Air and Pixel 5a.
(setq org-directory "~/Nextcloud/org/")
;; I don't care to constantly see lines, and the performance boost is nice.
(setq display-line-numbers-type nil)
;; JetBrains Mono has been my favourite font since first learning to program
(setq doom-font (font-spec :family "JetBrainsMono Nerd Font Regular" :size 12)
ivy-posframe-font (font-spec :family "JetBrainsMono Nerd Font Regular" :size 15))
;; Manual completion for company.
(setq company-idle-delay nil)
;; Nice things to see related to windows, and to use trash instead of perma delete.
;; Give me as much undo as you can.
(setq undo-limit 80000000
;; Subword mode is nice.
;; Keep files up to date.
(setq global-auto-revert-non-file-buffers t)
;; Scrolling should be one line at a time.
(setq scroll-step 1)
;; Disable invasive lsp-mode features
(setq lsp-ui-sideline-enable nil ; not anymore useful than flycheck
lsp-ui-doc-enable nil ; slow and redundant with K
;; I really don't like trailing whitespace.
(add-hook 'before-save-hook 'delete-trailing-whitespace)
;; Nice features when I'm on my MacBook Pro 16", which is essentially always.
(setq mac-option-key-is-meta nil
;; Nice to see the time.
(unless (string-match-p "battery N/A" (battery))
;; Don't bring up key recipient dialogue.
(setq epa-file-select-keys 1)
(setq epa-file-encrypt-to '("<email@example.com>"))
(setq epa-file-encrypt-to '("<firstname.lastname@example.org>"))
;; Increase the password cache expiry time, technically doesn't do anything for GPG2
(setq password-cache-expiry (* 60 15))
M init.el => init.el
@@ 27,7 27,7 @@
;;helm ; the *other* search engine for love and life
;;ido ; the other *other* search engine...
;;ivy ; a search engine for love and life
vertico ; the search engine of the future
(vertico +icons) ; the search engine of the future
;;deft ; notational velocity for Emacs