about summary refs log tree commit diff stats
path: root/emacs-prelude/personal/lisp/init-prelude.el
diff options
context:
space:
mode:
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)