I currently have
`:predicate '(derived-mode-p 'dired-mode) "/" '(my/toggle-dired-hide-details :wk "Dired-details")`
defining a key-binding under a prefix in my general.el setup.
If not in `dired-mode` though it still displays the "/ -> Dired-details" string in the mini-buffer after hitting the prefix key.
I tried adding `:major-modes '(dired-mode)` to the sexp where this binding is described. Doing that yields "/ -> nil" in the mini-buffer for that key-binding when not in `dired-mode`.
What I'd like is the binding for "/" under that prefix to not show up at all if not in `dired-mode`. Is there a way to accomplish this?