0

I want to unset all key bindings defined in persp-mode-map and persp-key-map.

As usual, I tried the following but the bindings remain effective sticky. This is a behavior that I have never experienced in other modes unlike persp-mode, because the prefix-command like 'persp-key-map was unused?

(eval-after-load "persp-mode-autoloads" '(setq persp-mode-map (make-sparse-keymap)))
(eval-after-load "persp-mode-autoloads" '(setq persp-key-map (make-sparse-keymap)))

Even if it's stripped down to

(setq persp-mode-map (make-sparse-keymap))

After setting both nil to check, the result is the same even at the moment when the variables are nil comfirmed by describe-variable. Is there any effective method?

roomworoof
  • 394
  • 2
  • 9

1 Answers1

0

I found a solution.

(custom-set-variables
 '(persp-keymap-prefix nil))

The persp-keymap-prefix is described as "The prefix for activating the persp-mode keymap.", defined by defcustom.

roomworoof
  • 394
  • 2
  • 9