[treemacs] give names to which-key +prefix entries
problem: Which-key subgroups get the default name `+prefix`. The subgroup has to be opened to find out which keys it contains. solution: Add more descriptive names: ``` c treemacs-create o treemacs-visit-node oa treemacs-visit-node-ace t treemacs-toggles y treemacs-copy C-p treemacs-projects C-p c treemacs-projects-collapse ```
This commit is contained in:
parent
be93ed91a0
commit
d40d45c256
|
@ -44,7 +44,15 @@
|
|||
"ft" 'treemacs
|
||||
"fB" 'treemacs-bookmark
|
||||
"fT" 'treemacs-find-file
|
||||
"f M-t" 'treemacs-find-tag))
|
||||
"f M-t" 'treemacs-find-tag)
|
||||
(which-key-add-major-mode-key-based-replacements 'treemacs-mode
|
||||
"c" "treemacs-create"
|
||||
"o" "treemacs-visit-node"
|
||||
"oa" "treemacs-visit-node-ace"
|
||||
"t" "treemacs-toggles"
|
||||
"y" "treemacs-copy"
|
||||
"C-p" "treemacs-projects"
|
||||
"C-p c" "treemacs-projects-collapse"))
|
||||
:config
|
||||
(progn
|
||||
(spacemacs/define-evil-state-face "treemacs" "MediumPurple1")
|
||||
|
|
Loading…
Reference in a new issue