3 ms·
That's a pretty good introduction. I've been using emacs for years, but this post reminds me that I've never gotten around to setting up a satisfactory project
by baddox 12y ago
That's a pretty good introduction. I've been using emacs for years, but this post reminds me that I've never gotten around to setting up a satisfactory project management system, so that I can grep and find files across the whole project.
- tuhdo 12y agoYou should use Projectile: https://github.com/bbatsov/projectile https://github.com/bbatsov/projectile . Projectile allows you to Grep a project under VCS easily. And use Helm with it like this: http://tuhdo.github.io/helm-intro.html#sec-28 http://tuhdo.github.io/helm-intro.html#sec-28
- technomancy 12y agoProjectile is neat, but you don't need anything fancy to grep and find across the project. I just have a single binding to switch to an eshell, and running rgrep or find commands automatically pops up a hyperlinked buffer containing results. Having a shell function to cd to the project root helps too.
- baddox 12y agoYeah, right now my workflow is just to use silver searcher in my (non-emacs) terminal which is always in a window right next to emacs. Eventually I'll take a few moments to integrate the workflow into emacs.
- tuhdo 12y agoYou can use Ag right inside Emacs with this package: https://github.com/Wilfred/ag.el https://github.com/Wilfred/ag.el If you use Helm, there's helm-ag: https://github.com/syohex/emacs-helm-ag https://github.com/syohex/emacs-helm-ag Use MELPA and package manager to install the above packages: http://tuhdo.github.io/emacs-tutor3.html#sec-4-1 http://tuhdo.github.io/emacs-tutor3.html#sec-4-1