Update config

This commit is contained in:
Mark van der Putten 2024-10-06 16:42:15 +02:00
parent 36a4a9c122
commit 9a52608156
5 changed files with 20 additions and 22 deletions

View File

@ -61,6 +61,9 @@
(push '(vertical-scroll-bars) default-frame-alist)
;; -DisableUnnecessaryInterface
(add-to-list 'default-frame-alist
'(font . "DroidSansM Nerd Font Mono"))
(provide 'early-init)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; early-init.el ends here

View File

@ -5,9 +5,9 @@
(use-package corfu
;; Optional customizations
;; :custom
;; (corfu-cycle t) ;; Enable cycling for `corfu-next/previous'
;; (corfu-auto t) ;; Enable auto completion
:custom
(corfu-cycle t) ;; Enable cycling for `corfu-next/previous'
(corfu-auto t) ;; Enable auto completion
;; (corfu-separator ?\s) ;; Orderless field separator
;; (corfu-quit-at-boundary nil) ;; Never quit at completion boundary
;; (corfu-quit-no-match nil) ;; Never quit, even if there is no match
@ -25,24 +25,14 @@
;; be used globally (M-/). See also the customization variable
;; `global-corfu-modes' to exclude certain modes.
:config
(global-corfu-mode 1))
;; (use-package corfu
;; ;;:ensure (:files (:defaults "extensions/*"))
;; :demand t ; need this when using :bind or :hook
;; :config
;; (global-corfu-mode 1)
;; :custom
;; (corfu-auto t)
;; (corfu-auto-delay 0.5)
;; (corfu-quit-no-match t) ; quit when the popup appears and I type anything else
;; ;; Might want to customize corfu-sort-function
;; ;; :bind
;; ;; (("M-RET" . completion-at-point)
;; ;; )
;; )
(global-corfu-mode 1)
(set-face-attribute 'corfu-border nil
:background "gray87")
(set-face-attribute 'corfu-current nil
:background "DarkOrange4"
:foreground "gray100")
)
;; Nice icons for corfu popups
(use-package kind-icon

View File

@ -38,6 +38,10 @@
(eval-when-compile
(require 'init-const))
(use-package direnv
:config
(direnv-mode))
;; SudoEditPac
(use-package sudo-edit
:commands (sudo-edit))

View File

@ -59,7 +59,7 @@
(doom-themes-visual-bell-config)
;; Corrects (and improves) org-mode's native fontification.
(doom-themes-org-config)
(load-theme 'doom-one t)
(load-theme 'doom-dark+ t)
(defun switch-theme ()
"An interactive funtion to switch themes."
(interactive)

View File

@ -114,6 +114,7 @@ If you experience freezing, decrease this. If you experience stuttering, increa
(require 'init-shell)
(require 'init-dired)
(require 'init-buffer)
(require 'init-treemacs)
;; ;; UI Enhancements
(require 'init-ui-config)
@ -126,7 +127,7 @@ If you experience freezing, decrease this. If you experience stuttering, increa
(require 'init-yasnippet)
(require 'init-syntax)
(require 'init-parens)
(require 'init-eglot)
(require 'init-completion)
;;; (require 'init-indent)