Bind frame keys using spacemacs|spacebind

This names the SPC F which-key entry.
before: +prefix
after: Frames

And adds "..." to the end of the descriptions,
for the keys that require additional user interactions.
This commit is contained in:
duianto 2021-03-13 14:59:20 +01:00 committed by Maximilian Wolff
parent b7cbcb5ed5
commit d424c8d1d1
1 changed files with 12 additions and 9 deletions

View File

@ -382,15 +382,18 @@
("y" spacemacs/copy-file-path "File path")
("b" spacemacs/copy-buffer-name "Buffer name")))))
;; frame ----------------------------------------------------------------------
(spacemacs/set-leader-keys
"Ff" 'spacemacs/find-file-other-frame
"Fd" 'delete-frame
"FD" 'delete-other-frames
"Fb" 'spacemacs/switch-to-buffer-other-frame
"FB" 'spacemacs/display-buffer-other-frame
"Fo" 'other-frame
"FO" 'spacemacs/dired-other-frame
"Fn" 'make-frame)
(spacemacs|spacebind
"Frames"
:global
(("F" "Frames"
("f" spacemacs/find-file-other-frame "Find file other frame...")
("d" delete-frame "Delete frame")
("D" delete-other-frames "Delete other frames")
("b" spacemacs/switch-to-buffer-other-frame "Switch to buffer other frame...")
("B" spacemacs/display-buffer-other-frame "Display buffer other frame...")
("o" other-frame "Switch to other frame")
("O" spacemacs/dired-other-frame "Dired other frame...")
("n" make-frame "Make frame"))))
;; help -----------------------------------------------------------------------
(defalias 'emacs-tutorial 'help-with-tutorial)
(spacemacs/set-leader-keys