aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index 94977d8..f2b365b 100644
--- a/README.md
+++ b/README.md
@@ -272,6 +272,19 @@ customize`). The following are likely to be of most interest:
- `persp-state-default-file`: Changes the default file to use for saving and
loading Perspective state.
+To change keys used after the prefix key, with `use-package` you can do:
+
+ ;; remap n to N to switch to next perspective
+ (use-package perspective
+ :bind (
+ :map perspective-map
+ ("n" . nil)
+ ("N" . persp-next)))
+
+Or without `use-package`:
+
+ (define-key perspective-map (kbd "n") nil)
+ (define-key perspective-map (kbd "C-n") 'persp-next)
## Some Musings on Emacs Window Layouts