diff options
| author | Constantine Vetoshev <vetoshev@gmail.com> | 2025-02-15 09:32:33 -0800 |
|---|---|---|
| committer | Constantine Vetoshev <vetoshev@gmail.com> | 2025-02-15 09:32:33 -0800 |
| commit | b882cff3970123c4beed9b1a0d98e5d369f85914 (patch) | |
| tree | 39795c23b225fa2e7982204b8375a2cdd54761a4 /README.md | |
| parent | b5c1f002ccf521d780f2104c62149fd3cd4f6dd9 (diff) | |
Add Getting Started to the README.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -198,6 +198,28 @@ elpa-perspective`, though be aware that the stable version provided in these repositories is likely to be (extremely) outdated. +## Getting Started + +Assuming you installed Perspective using `use-package` as noted in the +Installation section, `persp-mode` should now be active, and you should be in +the `main` perspective. Any buffers you have open now will be associated with +`main`. (If you have no buffers open, you should open a couple for the purposes +of this exercise.) + +Now, press <kbd>C-c M-p s</kbd>. Note that <kbd>C-c M-p</kbd> is the Perspective +prefix, and you had to define it in the `use-package` invocation. If you changed +it to something else, use your own prefix instead! <kbd>s</kbd> is the prefixed +binding of the `persp-switch` command. Enter the name of a different perspective +(e.g. `two`). Emacs will switch to perspective `two`. The buffers you have +associated with `main` will be backgrounded, and you will see the scratch buffer +associated with perspective `two` (`*scratch* two`). Any buffers you open now +will be associated with perspective `two`. + +Now, press <kbd>C-c M-p s</kbd> again, and type `main` when prompted. Emacs will +then background perspective `two` and bring up perspective `main`, restoring its +window layout and buffer list. + + ## Usage To activate Perspective, use `(persp-mode)`. This creates a single default |
