I use persp-mode and projectile both of which are installed using the use-package package and both want to prefix their keymaps with C-c p. The projectile readme says that you can define a custom keymap prefix with the projectile-keymap-prefix variable. (Similar is true for persp-mode.)
Whether or not I set this variable within the use-package directive or outside, the actual prefix does not change even though describe-variable shows the value as "^C^P". I still have to access projectile commands via C-c p. (The same is also true for persp-mode if i set the persp-keymap-prefix var to something other than C-c p.)
Why does the actual prefix that needs pushed never update with the custom prefix, and how do I fix this?
Here is the relevant code. For both libraries I still have to access their keymap actions via C-c p despite setting their keymap-prefix vars:
(add-hook 'after-init-hook (lambda () (progn (use-package persp-mode :config (setq persp-keymap-prefix (kbd "C-c o")) (setq persp-nil-name "Home") (persp-mode 1)) (use-package projectile :diminish projectile-mode :config (setq projectile-keymap-prefix (kbd "C-c C-p")) (projectile-global-mode)))))