perspectives: bind `SPC l l` to helm-perspectives

`SPC l l` makes more sense for switching perspectives with helm
because it is a faster/easier binding to use.

- Document binding to helm-perspectives
- Bind persp-load-state-from-file to `SPC l L`
This commit is contained in:
Joe Hillenbrand 2015-11-04 22:57:28 -08:00 committed by syl20bnr
parent be817362ae
commit fd95f9090f
2 changed files with 5 additions and 4 deletions

View File

@ -45,6 +45,7 @@ Prefix command for perspective management commands is ~SPC l~ (for Layout).
| Key Binding | Description |
|------------------------+-------------------------------------------------|
| ~SPC l ?~ | Toggle Documentation of micro-state |
| ~SPC l l~ | List perspectives |
| ~SPC l b~ | List buffers in current perspective |
| ~SPC l f~ | List buffers in current perspective |
| ~SPC l K~ | Remove buffer from perspective |
@ -64,7 +65,7 @@ Prefix command for perspective management commands is ~SPC l~ (for Layout).
| ~SPC l [1..n..9]~ | switch to nth perspective |
| ~SPC l r~ | rename perspective |
| ~SPC l w~ | Save perspectives to file |
| ~SPC l l~ | Load perspectives from file |
| ~SPC l L~ | Load perspectives from file |
| ~SPC l s~ | switch perspective |
*** Custom Perspectives Micro State
@ -89,7 +90,7 @@ can use the ~SPC l P~.
** Save/Load perspectives into a file
With ~SPC l w~ and ~SPC l l~ you can save and load perspectives to a file this
With ~SPC l w~ and ~SPC l L~ you can save and load perspectives to a file this
is done without configuration, support is great for emacs 24.4, but depends on
=workgroups.el= for Emacs <= 24.3.

View File

@ -184,7 +184,7 @@ Cancels autosave on exiting perspectives mode."
("N" persp-prev)
("p" persp-prev)
("P" spacemacs/helm-persp-switch-project :exit t)
("L" spacemacs/helm-perspectives :exit t)
("l" spacemacs/helm-perspectives :exit t)
("s" spacemacs/helm-persp-switch :exit t)
("b" spacemacs/persp-helm-mini :exit t)
("r" spacemacs/persp-ms-rename :exit t)
@ -197,7 +197,7 @@ Cancels autosave on exiting perspectives mode."
("i" persp-import-buffers :exit t)
("K" persp-remove-buffer :exit t)
("w" persp-save-state-to-file :exit t)
("l" persp-load-state-from-file :exit t)
("L" persp-load-state-from-file :exit t)
("o" spacemacs/select-custom-persps :exit t))
(defun spacemacs/persp-ms-rename ()