From bc81305cabc769039a661deb246d98a84717ea63 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 2 Aug 2014 08:49:22 +0100 Subject: Use long form for reference links --- content/post/opening-projects-with-projectile.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'content/post/opening-projects-with-projectile.md') diff --git a/content/post/opening-projects-with-projectile.md b/content/post/opening-projects-with-projectile.md index 43ee6f1..4fc097a 100644 --- a/content/post/opening-projects-with-projectile.md +++ b/content/post/opening-projects-with-projectile.md @@ -6,11 +6,11 @@ title = "Opening Projects with Projectile" date = 2014-07-12T09:12:34Z +++ -I use [Projectile] for working with projects in Emacs. It's really good at finding files in projects, working with source code indexes (I use [Global]), and with its [perspective] support, it's also great at separating projects into workspaces. However, I've always felt it lacking in actually opening projects. I tend to work on different projects all the time and `projectile-switch-project` only tracks projects once they've been opened initially (despite the name, it works across Emacs sessions). +I use [Projectile][] for working with projects in Emacs. It's really good at finding files in projects, working with source code indexes (I use [Global][]), and with its [perspective][] support, it's also great at separating projects into workspaces. However, I've always felt it lacking in actually opening projects. I tend to work on different projects all the time and `projectile-switch-project` only tracks projects once they've been opened initially (despite the name, it works across Emacs sessions). With this in mind, I decided to try to add support for opening projects under a given subdirectory, e.g. `~/projects`, regardless of whether or not I've visited them before. -I saw that projectile uses [Dash.el] in some places, and after reading about [anaphoric macros], I decided that I'd try to use them to aid me. +I saw that projectile uses [Dash.el][] in some places, and after reading about [anaphoric macros], I decided that I'd try to use them to aid me. {{% highlight cl %}} (defun ap/subfolder-projects (dir) @@ -39,7 +39,7 @@ So, we've got ourselves a list, but now we need to be able to open the project t By wrapping the call to `ap/subfolder-projects` in another function that takes the same directory argument, we can re-use the project parent directory and expand the selected project name into an absolute path before passing it to `projectile-switch-project-by-name`. -We get support for multiple completion systems for free, since projectile has a wrapper function that works with the default system, ido, [grizzl] and recently, [helm]. +We get support for multiple completion systems for free, since projectile has a wrapper function that works with the default system, ido, [grizzl][] and recently, [helm][]. Then I defined some helper functions to make it easy to open work and home projects. -- cgit 1.4.1