I'm trying to unmap the
<prior> key-bindings from Treemacs, because I find counterintuitive that it's the only place where they scroll a different window instead of the current one.
I've found that they are mapped inside keymap
treemacs-mode-map, so in my
.spacemacs user-config section I call this:
(with-eval-after-load 'treemacs (unbind-key (kbd "<next>") treemacs-mode-map) (unbind-key (kbd "<prior>") treemacs-mode-map))
But when I try to open the treemacs panel I get this error message:
Wrong type argument: stringp, [next]
I also tried with
(unbind-key <next> or
(unbind-key next or
(kbd "PageDown" and nothing is working.