about summary refs log tree commit diff stats
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-04-28 06:59:49 +0100
committerDavid Morgan <djm_uk@protonmail.com>2022-04-28 06:59:49 +0100
commit712502951d43393ef10b37887e8ce1d4e72f1c8e (patch)
treee816905cdd7fc9c1d3d670428245a810b911ed87 /.emacs.d/lisp
parent0f241204d0a4e2a4db9059d79ee8d93789f9dd65 (diff)
downloaddotfiles-712502951d43393ef10b37887e8ce1d4e72f1c8e.tar.gz
Avoid clash with new emacs bindings
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/init-project.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-project.el b/.emacs.d/lisp/init-project.el
index 3d4363b..0611b71 100644
--- a/.emacs.d/lisp/init-project.el
+++ b/.emacs.d/lisp/init-project.el
@@ -66,6 +66,7 @@
 (use-package perspective
   ;; Don't restart persp-mode when re-evaluating, as it clears the current persp list
   :init (or persp-mode (persp-mode))
+  :custom (persp-mode-prefix-key (kbd "C-c x"))
   :config
   ;; Based on jao-buffer-same-mode (https://jao.io/blog/2021-09-08-high-signal-to-noise-emacs-command.html)
   (defun persp-switch-buffer-same-mode ()
@@ -120,8 +121,8 @@
   ("C-x p p" . switch-project)
   ("C-x C-b" . persp-previous-buffer-same-mode)
   ("C-x C-S-b" . persp-switch-buffer-same-mode)
-  ("C-x x x" . persp-switch-last)
-  ("C-x x ." . persp-switch-quick))
+  ("C-c x x" . persp-switch-last)
+  ("C-c x ." . persp-switch-quick))
 
 (provide 'init-project)
 ;;; init-project.el ends here