diff options
| author | Damien Krotkine <3834+dams@users.noreply.github.com> | 2021-01-20 23:10:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-20 23:10:16 +0100 |
| commit | 2ae6980fe6586b67545bbeeffb818a0011f1a8e1 (patch) | |
| tree | 8c3932d7579c8a42052d5cdc7f94dbc145b44e7c | |
| parent | 2f2b59e693f08b8d9c81062fca25e6076b6e7f8d (diff) | |
Add hint about how to remap keys
From #145
| -rw-r--r-- | README.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 |
