Added persp-projectile package, but not enabled by default
This commit is contained in:
parent
eb6a392873
commit
0fe37b3eec
|
@ -1,4 +1,4 @@
|
|||
# Perspective Mode
|
||||
# Perspectives
|
||||
|
||||
This contrib layer sets up perspective-mode. And also defines custom
|
||||
perspectives with a macro so that you don't have to do more steps.
|
||||
|
@ -18,8 +18,22 @@ Then you just need to add a keybinding to your custom persp, we use
|
|||
`<SPC> P o [your key here]` (Perspective open <key>)
|
||||
|
||||
``` elisp
|
||||
(evil-leader/set-key "Poo" 'custom-persp/<persp-function-name>))
|
||||
(evil-leader/set-key "Po<your key here>" 'custom-persp/<persp-function-name>))
|
||||
```
|
||||
## Keybindings
|
||||
|
||||
Perspective-mode defines keybindings under `C-x x` so we will take a more spacemacsy approach and define them under out perspective map `<SPC> P`
|
||||
Perspective-mode defines keybindings under `C-x x` so we will take a more `spacemacsy` approach and define them under out perspective map `<SPC> P`
|
||||
|
||||
|
||||
## Persp-Projectile
|
||||
|
||||
As the name suggests, this persp-projectile mode creates a new
|
||||
perspective once you switch to a new project with `<SPC> p s` you can
|
||||
enable it by putting `(require 'persp-projectile)` in your configuration files.
|
||||
|
||||
If you are a helm person, and would rather use helm for projectile add this to your config as well:
|
||||
|
||||
```elisp
|
||||
(projectile-persp-bridge helm-projectile)
|
||||
(setq projectile-switch-project-action 'helm-projectile)
|
||||
```
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
(defvar perspectives-packages
|
||||
'(
|
||||
perspective
|
||||
persp-projectile
|
||||
)
|
||||
"List of all packages to install and/or initialize. Built-in packages
|
||||
which require an initialization must be listed explicitly in the list.")
|
||||
|
|
Loading…
Reference in a new issue