November 2021 changes

This commit is contained in:
minhtrannhat
2021-11-28 15:40:48 -05:00
parent 2ecbac58ea
commit 19ca8a0e8a
11 changed files with 365 additions and 32 deletions

View File

@@ -28,7 +28,7 @@
(let* ((light-theme 'doom-nord-light)
(dark-theme 'doom-nord)
(start-time-light-theme 6)
(end-time-light-theme 18)
(end-time-light-theme 16)
(hour (string-to-number (substring (current-time-string) 11 13)))
(next-theme (if (member hour (number-sequence start-time-light-theme end-time-light-theme))
light-theme dark-theme)))
@@ -43,6 +43,7 @@
(setq doom-themes-treemacs-theme "doom-colors")
(setq org-directory "~/org/")
(add-hook! 'elfeed-search-mode-hook 'elfeed-update)
(setq display-line-numbers-type 'relative)
@@ -104,9 +105,8 @@
(add-hook 'after-change-major-mode-hook #'doom-modeline-conditional-buffer-encoding)
(after! company
(setq company-idle-delay 0.5
(setq company-idle-delay 0
company-minimum-prefix-length 2)
(setq company-show-numbers t)
(add-hook 'evil-normal-state-entry-hook #'company-abort)) ;; make aborting less annoying.
(setq-default history-length 1000)

View File

@@ -1,5 +1,4 @@
;;; init.el -*- lexical-binding: t; -*-
;; This file controls what Doom modules are enabled and what order they load
;; in. Remember to run 'doom sync' after modifying it!
;; NOTE Press 'SPC h d h' (or 'C-h d h' for non-vim users) to access Doom's
@@ -34,7 +33,7 @@
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
;;hydra
indent-guides ; highlighted indent columns
(ligatures +extra) ; ligatures and symbols to make your code pretty again
ligatures ; ligatures and symbols to make your code pretty again
;;minimap ; show a map of the code on the side
modeline ; snazzy, Atom-inspired modeline, plus API
;;nav-flash ; blink cursor line after big motions