Reputation: 3100
I'm now using the awesome package "find-file-in-repository" to jump between files in different repositories, using ido to smartly complete the file path.
However one problem that I'm facing is that I constantly work on maybe 10 different respositories every day at least, so I would like to find a way to do the following.
An hypothetical function switch-to that when called:
Is there anything like this lightweight and smart already available? Any suggestions on other possible workflow otherwise to switch between projects and files in repositories?
I would like to avoid to have all the possible files in my repositories in a single completion list because it gets very slow and harder to find what I'm looking for at that point..
Upvotes: 3
Views: 104
Reputation: 30701
Is there anything like this lightweight and smart already available? Any suggestions on other possible workflow otherwise to switch between projects and files in repositories?
Yes. Use Emacs bookmarks. You can bookmark practically anything, including "repositories" or sets of repositories or pieces of a repository.
Bookmark+, in particular, is your friend.
Upvotes: 0
Reputation:
Have you tried projectile
? With it you can do projectile-switch-project
and it will prompt with all the projects you have worked on, once you have selected the project it will prompt you for the file you wish to open in that project. Plus it has some other goodies like grep-in-project
, replace-in-project
etc.
P.S. It recognizes git
, mercurial
, darcs
, bazaar
repos as projects.
Upvotes: 5