Almost every directory I work with, is either directly under “~/Dropbox/” or
under “~/Dropbox/Work/”. However, I never actually visit these two directories,
only the directories inside them. The number of possible targets for find-file
is approaching the outer borders of two-digit land, so there's no hope for my
brain to remember registers for all of these.
The best solution I've found is to compile a list of all possible targets
(directories inside those directories) and offer them using ido. This is
somewhat similar to using a bookmark for each possible destination, except it
it's always up to date with the directory contents and doesn't clog up my actual
bookmarks.
Some random notes:
Having a quick key for this is fantastic. Whenever I want to get work done, I
just hit C-x d and I'll my options are presented before me.
With a prefix argument it also shows files instead of just directories.
If ido is not your completion engine of choice, that's trivial to change.
Visit Directory inside a Set of Directories
23 Feb 2015, by Artur Malabarba.Almost every directory I work with, is either directly under “~/Dropbox/” or under “~/Dropbox/Work/”. However, I never actually visit these two directories, only the directories inside them. The number of possible targets for
find-file
is approaching the outer borders of two-digit land, so there's no hope for my brain to remember registers for all of these.The best solution I've found is to compile a list of all possible targets (directories inside those directories) and offer them using ido. This is somewhat similar to using a bookmark for each possible destination, except it it's always up to date with the directory contents and doesn't clog up my actual bookmarks.
Some random notes:
ido-vertical
.Tags: init.el, emacs,
Prettify your Apostrophes »
« Paradox 2.0 Released: Execution hook, Interface improvements, Async Execution
Content © 2019, All rights reserved. Icons under CC3.0.