Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Project switching in emacs

Tags:

emacs

project

I would like to associate sets of buffers/files in emacs with different projects, and switch from one to other. This would involve closing all the buffers associated with the present project and open the files corresponding to the switched-to-project. I tried setting up desktops using bookmarks+ as suggested in https://emacs.stackexchange.com/questions/315/using-desktop-for-basic-project-management but all buffers remain open. I also tried setting up workgroups using workgroups2 (https://github.com/pashinin/workgroups2), but had similar issues. Is there an existing emacs package that could be used for this?

like image 495
user1031565 Avatar asked Feb 11 '23 07:02

user1031565


1 Answers

There is an excellent package called Projectile that does exactly what you describe and more.

like image 126
Symfrog Avatar answered Feb 23 '23 01:02

Symfrog