Files

26 lines
606 B
EmacsLisp

;;; core.el -*- lexical-binding: t; -*-
(setq doom-theme 'doom-one)
(setq display-line-numbers-type t)
(setq org-directory "~/org/")
(use-package! super-save
:config
(super-save-mode +1)
(setq super-save-auto-save-when-idle t)
(setq super-save-idle-duration 1))
;; Which-key: show keybindings faster
(setq which-key-idle-delay 0.01
which-key-min-display-time 0.1)
;; Search bindings for consult-line
(map!
:n "C-s" #'consult-line
:n "M-s" (lambda () (interactive) (consult-line (thing-at-point 'symbol)))
:n "C-S-s" #'consult-line-multi)
(setq-default show-trailing-whitespace nil)