Avoid clash with new emacs bindings

This commit is contained in:
David Morgan 2022-04-28 06:59:49 +01:00
parent 0f241204d0
commit 712502951d
1 changed files with 3 additions and 2 deletions

View File

@ -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