dotfiles/doom/.config/doom/config.el

67 lines
2.2 KiB
EmacsLisp
Raw Normal View History

2022-03-03 16:38:17 -05:00
;;; $DOOMDIR/config.el -*- lexical-binding: t; -*-
;; Place your private configuration here! Remember, you do not need to run 'doom
;; sync' after modifying this file!
(setq user-full-name "earnest ma"
user-mail-address "me@earne.link"
org-directory "~/org/")
2022-03-03 16:38:17 -05:00
2022-03-08 11:24:59 -05:00
(load! ".local" doom-private-dir t)
(load! "+ui")
2022-03-03 16:38:17 -05:00
;; Whenever you reconfigure a package, make sure to wrap your config in an
;; `after!' block, otherwise Doom's defaults may override your settings. E.g.
;;
;; (after! PACKAGE
;; (setq x y))
;;
;; The exceptions to this rule:
;;
;; - Setting file/directory variables (like `org-directory')
;; - Setting variables which explicitly tell you to set them before their
;; package is loaded (see 'C-h v VARIABLE' to look up their documentation).
;; - Setting doom variables (which start with 'doom-' or '+').
;;
;; Here are some additional functions/macros that will help you configure Doom.
;;
;; - `load!' for loading external *.el files relative to this one
;; - `use-package!' for configuring packages
;; - `after!' for running code after a package has loaded
;; - `add-load-path!' for adding directories to the `load-path', relative to
;; this file. Emacs searches the `load-path' when you load packages with
;; `require' or `use-package'.
;; - `map!' for binding new keys
;;
;; To get information about any of these functions/macros, move the cursor over
;; the highlighted symbol at press 'K' (non-evil users must press 'C-c c k').
;; This will open documentation for it, including demos of how they are used.
;; Alternatively, use `C-h o' to look up a symbol (functions, variables, faces,
;; etc).
;;
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
;; they are implemented.
2022-03-08 09:38:58 -05:00
;; Defaults
(setq-default delete-by-moving-to-trash t)
(setq undo-limit 80000000 ; 80Mb
evil-want-fine-undo t ; more history when in insert mode
truncate-string-ellipsis "" ; Unicode ellispis are nicer than "...", and also save /precious/ space
password-cache-expiry nil ; don't expire
)
(global-subword-mode 1) ; Iterate through CamelCase words
2022-03-08 18:07:51 -05:00
(setq which-key-idle-delay 0.25)
2022-03-15 23:32:32 -04:00
(setq company-idle-delay 0.1)
2022-03-08 18:07:51 -05:00
2022-03-24 22:01:35 -04:00
;; speed-type
(use-package! speed-type)
2022-03-08 09:38:58 -05:00
;; load
(load! "+projects")
2022-03-08 11:24:59 -05:00
(load! "+smudge")
2022-03-10 16:08:57 -05:00
(load! "+elfeed")