Update config
This commit is contained in:
parent
36a4a9c122
commit
9a52608156
@ -61,6 +61,9 @@
|
|||||||
(push '(vertical-scroll-bars) default-frame-alist)
|
(push '(vertical-scroll-bars) default-frame-alist)
|
||||||
;; -DisableUnnecessaryInterface
|
;; -DisableUnnecessaryInterface
|
||||||
|
|
||||||
|
(add-to-list 'default-frame-alist
|
||||||
|
'(font . "DroidSansM Nerd Font Mono"))
|
||||||
|
|
||||||
(provide 'early-init)
|
(provide 'early-init)
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;;; early-init.el ends here
|
;;; early-init.el ends here
|
||||||
|
|||||||
@ -5,9 +5,9 @@
|
|||||||
|
|
||||||
(use-package corfu
|
(use-package corfu
|
||||||
;; Optional customizations
|
;; Optional customizations
|
||||||
;; :custom
|
:custom
|
||||||
;; (corfu-cycle t) ;; Enable cycling for `corfu-next/previous'
|
(corfu-cycle t) ;; Enable cycling for `corfu-next/previous'
|
||||||
;; (corfu-auto t) ;; Enable auto completion
|
(corfu-auto t) ;; Enable auto completion
|
||||||
;; (corfu-separator ?\s) ;; Orderless field separator
|
;; (corfu-separator ?\s) ;; Orderless field separator
|
||||||
;; (corfu-quit-at-boundary nil) ;; Never quit at completion boundary
|
;; (corfu-quit-at-boundary nil) ;; Never quit at completion boundary
|
||||||
;; (corfu-quit-no-match nil) ;; Never quit, even if there is no match
|
;; (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
|
;; be used globally (M-/). See also the customization variable
|
||||||
;; `global-corfu-modes' to exclude certain modes.
|
;; `global-corfu-modes' to exclude certain modes.
|
||||||
:config
|
:config
|
||||||
(global-corfu-mode 1))
|
(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)
|
|
||||||
;; ;; )
|
|
||||||
;; )
|
|
||||||
|
|
||||||
|
(set-face-attribute 'corfu-border nil
|
||||||
|
:background "gray87")
|
||||||
|
(set-face-attribute 'corfu-current nil
|
||||||
|
:background "DarkOrange4"
|
||||||
|
:foreground "gray100")
|
||||||
|
)
|
||||||
|
|
||||||
;; Nice icons for corfu popups
|
;; Nice icons for corfu popups
|
||||||
(use-package kind-icon
|
(use-package kind-icon
|
||||||
|
|||||||
@ -38,6 +38,10 @@
|
|||||||
(eval-when-compile
|
(eval-when-compile
|
||||||
(require 'init-const))
|
(require 'init-const))
|
||||||
|
|
||||||
|
(use-package direnv
|
||||||
|
:config
|
||||||
|
(direnv-mode))
|
||||||
|
|
||||||
;; SudoEditPac
|
;; SudoEditPac
|
||||||
(use-package sudo-edit
|
(use-package sudo-edit
|
||||||
:commands (sudo-edit))
|
:commands (sudo-edit))
|
||||||
|
|||||||
@ -59,7 +59,7 @@
|
|||||||
(doom-themes-visual-bell-config)
|
(doom-themes-visual-bell-config)
|
||||||
;; Corrects (and improves) org-mode's native fontification.
|
;; Corrects (and improves) org-mode's native fontification.
|
||||||
(doom-themes-org-config)
|
(doom-themes-org-config)
|
||||||
(load-theme 'doom-one t)
|
(load-theme 'doom-dark+ t)
|
||||||
(defun switch-theme ()
|
(defun switch-theme ()
|
||||||
"An interactive funtion to switch themes."
|
"An interactive funtion to switch themes."
|
||||||
(interactive)
|
(interactive)
|
||||||
|
|||||||
3
init.el
3
init.el
@ -114,6 +114,7 @@ If you experience freezing, decrease this. If you experience stuttering, increa
|
|||||||
(require 'init-shell)
|
(require 'init-shell)
|
||||||
(require 'init-dired)
|
(require 'init-dired)
|
||||||
(require 'init-buffer)
|
(require 'init-buffer)
|
||||||
|
(require 'init-treemacs)
|
||||||
|
|
||||||
;; ;; UI Enhancements
|
;; ;; UI Enhancements
|
||||||
(require 'init-ui-config)
|
(require 'init-ui-config)
|
||||||
@ -126,7 +127,7 @@ If you experience freezing, decrease this. If you experience stuttering, increa
|
|||||||
(require 'init-yasnippet)
|
(require 'init-yasnippet)
|
||||||
(require 'init-syntax)
|
(require 'init-syntax)
|
||||||
(require 'init-parens)
|
(require 'init-parens)
|
||||||
|
(require 'init-eglot)
|
||||||
(require 'init-completion)
|
(require 'init-completion)
|
||||||
|
|
||||||
;;; (require 'init-indent)
|
;;; (require 'init-indent)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user