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.el11
1 files changed, 7 insertions, 4 deletions
diff --git a/emacs-prelude/personal/lisp/init-prelude.el b/emacs-prelude/personal/lisp/init-prelude.el
index d52b2ec..fa4895b 100644
--- a/emacs-prelude/personal/lisp/init-prelude.el
+++ b/emacs-prelude/personal/lisp/init-prelude.el
@@ -24,9 +24,13 @@
          :weight bold :height 2.5 :box (:line-width 10 :color "red"))))))
 
 (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)))
+  ;; allow other things to use C-c s and C-c r
+  :init
+  (unbind-key "C-c s" prelude-mode-map)
+  (unbind-key "C-c r" prelude-mode-map)
+  :bind (:map prelude-mode-map
+              (("C-c C-s" . crux-swap-windows)
+               ("C-c C-r" . crux-rename-file-and-buffer))))
 
 (use-package key-chord
   :init
@@ -37,4 +41,3 @@
 (diminish 'prelude-mode)
 
 (provide 'init-prelude)
-