From a8799681a47697aacbefe56e1039dd45a9d5b98d Mon Sep 17 00:00:00 2001 From: shoshin Date: Fri, 1 Jul 2022 21:47:38 -0500 Subject: Add: tangled config changes --- shoshin-config.el | 47 ++++++++++++++++++++--------------------------- 1 file changed, 20 insertions(+), 27 deletions(-) (limited to 'shoshin-config.el') diff --git a/shoshin-config.el b/shoshin-config.el index 51351e5..9d62ab1 100644 --- a/shoshin-config.el +++ b/shoshin-config.el @@ -29,16 +29,6 @@ (define-key xah-fly-leader-key-map (kbd "f") #'consult-buffer) (define-key xah-fly-command-map (kbd "n") #'consult-line) -(package-install 'corfu) -(setq corfu-auto t - corfu-cycle t - corfu-quit-no-match t) -(global-corfu-mode t) - -(package-install 'corfu-terminal) -(unless (display-graphic-p) - (corfu-terminal-mode +1)) - (package-install 'embark) (package-install 'marginalia) @@ -54,10 +44,20 @@ (vertico-mode) (require 'vertico-directory) -(define-key (kbd "RET") #'vertico-directory-enter) -(define-key (kbd "DEL") #'vertico-directory-delete-char) -(define-key (kbd "M-DEL") #'vertico-directory-delete-word) -(define-key (kbd "M-j") #'vertico-quick-insert) +(define-key vertico-map (kbd "RET") #'vertico-directory-enter) +(define-key vertico-map (kbd "DEL") #'vertico-directory-delete-char) +(define-key vertico-map (kbd "M-DEL") #'vertico-directory-delete-word) +(define-key vertico-map (kbd "M-j") #'vertico-quick-insert) + +(package-install 'corfu) +(setq corfu-auto t + corfu-cycle t + corfu-quit-no-match t) +(global-corfu-mode t) + +(package-install 'corfu-terminal) +(unless (display-graphic-p) + (corfu-terminal-mode +1)) (package-install 'which-key) (which-key-mode) @@ -67,7 +67,13 @@ (package-install 'markdown-mode) +(package-install 'htmlize) + +(recentf-mode) + ;;; Programming +(package-install 'sly) + (package-install 'json-mode) (package-install 'devdocs) @@ -100,16 +106,3 @@ (mapc #'package-install my-chosen-themes) (package-install 'windresize) -(custom-set-variables - ;; custom-set-variables was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - '(package-selected-packages - '(htmlize plz corfu xah-fly-keys windresize which-key vertico srht markdown-mode marginalia magit json-mode embark dracula-theme devdocs darkroom cyberpunk-theme corfu-terminal consult))) -(custom-set-faces - ;; custom-set-faces was added by Custom. - ;; If you edit it by hand, you could mess it up, so be careful. - ;; Your init file should contain only one such instance. - ;; If there is more than one, they won't work right. - ) -- cgit v1.2.3