about summary refs log tree commit diff stats
path: root/emacs-prelude/personal/lisp/init-prelude.el
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2021-07-07 16:52:35 +0100
committerDavid Morgan <djm_uk@protonmail.com>2021-07-07 16:52:35 +0100
commit64ca29b76b7f265ab2d5f5a88452118da40aa4c8 (patch)
treefaf2f048f7b5406a186044255734439f4f336cbb /emacs-prelude/personal/lisp/init-prelude.el
parent3fbaf487183e7b7e3785628ab8ed6290ddd94fd7 (diff)
downloaddotfiles-64ca29b76b7f265ab2d5f5a88452118da40aa4c8.tar.gz
Update emacs prelude config (vertico, corfu, consult, etc)
Diffstat (limited to 'emacs-prelude/personal/lisp/init-prelude.el')
-rw-r--r--emacs-prelude/personal/lisp/init-prelude.el10
1 files changed, 4 insertions, 6 deletions
diff --git a/emacs-prelude/personal/lisp/init-prelude.el b/emacs-prelude/personal/lisp/init-prelude.el
index 65fc870..c857e16 100644
--- a/emacs-prelude/personal/lisp/init-prelude.el
+++ b/emacs-prelude/personal/lisp/init-prelude.el
@@ -10,9 +10,6 @@
 (use-package whitespace
   :diminish)
 
-(use-package projectile
-  :diminish)
-
 (use-package smartparens
   :diminish)
 
@@ -26,9 +23,10 @@
     ((t (:foreground "white" :background "red"
          :weight bold :height 2.5 :box (:line-width 10 :color "red"))))))
 
-;; allow other things to use C-c s
-(define-key prelude-mode-map (kbd "C-c s") nil)
-(define-key prelude-mode-map (kbd "C-c S") 'crux-swap-windows)
+(use-package crux
+  ;; allow other things to use C-c s
+  :init (unbind-key "C-c s" prelude-mode-map)
+  :bind (:map prelude-mode-map ("C-c S" . crux-swap-windows)))
 
 (diminish 'prelude-mode)