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-23 13:06:29 +0100
committerDavid Morgan <djm_uk@protonmail.com>2021-07-23 13:06:29 +0100
commitfeec02aa28e9972f4b6e3f8465f4c5dc7be43fc7 (patch)
tree11f8b4d978363de2f21d2c1012680e1bdc7c45af /emacs-prelude/personal/lisp/init-prelude.el
parent769926dee8bed6be8278dfb3f540ff0d376fbbc6 (diff)
downloaddotfiles-feec02aa28e9972f4b6e3f8465f4c5dc7be43fc7.tar.gz
More emacs.d updates
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)
-