diff options
author | Bozhidar Batsov <bozhidar@batsov.com> | 2015-12-20 14:30:11 +0200 |
---|---|---|
committer | Bozhidar Batsov <bozhidar@batsov.com> | 2015-12-20 14:30:11 +0200 |
commit | 83e03b1284ea36f37a24571abd6442a267408360 (patch) | |
tree | cd6c92092d3c90caf7ef9c7e740eee4b96309ab9 /README.md |
Initial commit
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..80a3251 --- /dev/null +++ b/README.md @@ -0,0 +1,48 @@ +## persp-projectile + +[Perspective](https://github.com/nex3/perspective-el) is a minor mode +that provides the ability to manage different workspaces. If you need +to open many projects at the same time, perspective can help you keep +each project related buffers and windows setting separate from other +projects, similar to multiple spaces on MacOS, which allows you to +focus on the files of the current active project. + +A picture says a thousand words. See below screenshot to get a concrete idea. + +Only current project related files showing in minibuffer when I call +`ido-switch-buffer`, and an indicator in mode line tells me which +project that I'm in. + +![Persp-Projectile Screenshot 1](screenshots/persp-projectile1.png) + +When I switch to a different project, I get a clean 'perspective'. + +![Persp-Projectile Screenshot 2](screenshots/persp-projectile2.png) + +To integrate perspective with Projectile, first of all, you need to +install perspective. You can install it by: + +``` +M-x package-install +``` + +Then type `perspective` in the minibuffer, as below: + +``` +Install package: perspective +``` + +Secondly, make sure `persp-projectile.el` is in your Emacs load path. Then require it in your init file. + +```el +(persp-mode) +(require 'persp-projectile) +``` + +You're ready to go! Try the interactive command +`projectile-persp-switch-project`, or you may also bind it to some +handy keybinding. + +```el +(define-key projectile-mode-map (kbd "s-s") 'projectile-persp-switch-project) +``` |