diff options
| author | Ivan Popovych <ivan.popovich000@gmail.com> | 2022-03-08 13:45:30 +0200 |
|---|---|---|
| committer | Ivan Popovych <ivan.popovich000@gmail.com> | 2022-03-08 13:45:30 +0200 |
| commit | 9d23e7212c85ecf17fd9a2e616788459bb6adf02 (patch) | |
| tree | 08abf352be763a9a4426afff2cb7e73dd1e5be3f | |
| parent | 1440189cd6a020e645dd29c1339b92c864028479 (diff) | |
Clarify usage of narrowing in README, add missing quotes
| -rw-r--r-- | README.md | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -249,13 +249,15 @@ perspective. **Consult**: Perspective provides `persp-consult-source` source that will list buffers in current perspective. You can hide default buffer source and add `persp-consult-source` to `consult-buffer-sources` for consult -to only list buffers in current perspective, note that you can access -list of all buffers by filtering with `b` key. Example configuration: +to only list buffers in current perspective like so: ```emacs-lisp (consult-customize consult--source-buffer :hidden t :default nil) -(add-to-list consult-buffer-sources persp-consult-source) +(add-to-list 'consult-buffer-sources 'persp-consult-source) ``` +Note that you can still access list of all buffers in all perspectives by +[narrowing](https://github.com/minad/consult#narrowing-and-grouping) +using prefix `b` **Ivy / Counsel**: Perspective provides two commands for listing buffers using Ivy and Counsel: `persp-ivy-switch-buffer` and `persp-counsel-switch-buffer`. |
