aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshoshin <shoshin@cicadas.surf>2022-07-01 21:47:38 -0500
committershoshin <shoshin@cicadas.surf>2022-07-01 21:47:38 -0500
commita8799681a47697aacbefe56e1039dd45a9d5b98d (patch)
tree3ae739c228e163fa72434d7efdfbe25bb99cd343
parenta248d933da9b13777de95dfa5fa74783e7f6dd60 (diff)
Add: tangled config changes
-rw-r--r--shoshin-config.el47
1 files changed, 20 insertions, 27 deletions
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.
- )