Improve which-key prefix command names for toggles
This commit is contained in:
parent
983e569de6
commit
48b3fb2cad
|
@ -16,52 +16,52 @@
|
|||
|
||||
;; We define prefix commands only for the sake of which-key
|
||||
(setq spacemacs/key-binding-prefixes '(("a" "applications")
|
||||
("ai" "applications-irc")
|
||||
("as" "applications-shells")
|
||||
("ai" "irc")
|
||||
("as" "shells")
|
||||
("b" "buffers")
|
||||
("bm" "buffers-move")
|
||||
("bm" "move")
|
||||
("c" "compile/comments")
|
||||
("C" "capture/colors")
|
||||
("e" "errors")
|
||||
("E" "editing-modes")
|
||||
("f" "files")
|
||||
("fC" "files/convert")
|
||||
("fe" "files-emacs/spacemacs")
|
||||
("fe" "emacs(spacemacs)")
|
||||
("g" "git/versions-control")
|
||||
("h" "helm/help/highlight")
|
||||
("hd" "help-describe")
|
||||
("i" "insertion")
|
||||
("j" "join/split")
|
||||
("k" "lisp")
|
||||
("kd" "lisp-delete")
|
||||
("kD" "lisp-delete-backward")
|
||||
("k`" "lisp-hybrid")
|
||||
("kd" "delete")
|
||||
("kD" "delete-backward")
|
||||
("k`" "hybrid")
|
||||
("n" "narrow/numbers")
|
||||
("p" "projects")
|
||||
("p$" "projects/shell")
|
||||
("q" "quit")
|
||||
("r" "registers/rings")
|
||||
("s" "search/symbol")
|
||||
("sa" "search-ag")
|
||||
("sg" "search-grep")
|
||||
("sk" "search-ack")
|
||||
("st" "search-pt")
|
||||
("sw" "search-web")
|
||||
("sa" "ag")
|
||||
("sg" "grep")
|
||||
("sk" "ack")
|
||||
("st" "pt")
|
||||
("sw" "web")
|
||||
("t" "toggles")
|
||||
("tC" "toggles-colors")
|
||||
("th" "toggles-highlight")
|
||||
("tm" "toggles-modeline")
|
||||
("tC" "colors")
|
||||
("tE" "editing-styles")
|
||||
("th" "highlight")
|
||||
("tm" "modeline")
|
||||
("T" "toggles/themes")
|
||||
("w" "windows")
|
||||
("wp" "windows-popup")
|
||||
("wp" "popup")
|
||||
("x" "text")
|
||||
("xa" "text-align")
|
||||
("xd" "text-delete")
|
||||
("xg" "text-google-translate")
|
||||
("xl" "text-lines")
|
||||
("xm" "text-move")
|
||||
("xt" "text-transpose")
|
||||
("xw" "text-words")
|
||||
("xa" "align")
|
||||
("xd" "delete")
|
||||
("xg" "google-translate")
|
||||
("xl" "lines")
|
||||
("xm" "move")
|
||||
("xt" "transpose")
|
||||
("xw" "words")
|
||||
("z" "zoom")))
|
||||
(mapc (lambda (x) (apply #'spacemacs/declare-prefix x))
|
||||
spacemacs/key-binding-prefixes)
|
||||
|
|
|
@ -1345,6 +1345,7 @@ ARG non nil means that the editing style is `vim'."
|
|||
("spacemacs/toggle-\\(.+\\)" . "\\1")
|
||||
("select-window-\\([0-9]\\)" . "window \\1")
|
||||
("spacemacs/alternate-buffer" . "last buffer")
|
||||
("spacemacs/toggle-mode-line-\\(.+\\)" . "\\1")
|
||||
("avy-goto-word-or-subword-1" . "avy word")
|
||||
("shell-command" . "shell cmd")
|
||||
("spacemacs/default-pop-shell" . "open shell")
|
||||
|
|
Loading…
Reference in a new issue