There is a project with 100 files in a flat directory. I want to navigate a subset of the files, depending on what part of the project I am working on. Creating files with links to files of interest would do the job. For example, To navigate alphabet files of project, open alphabet.org:
file:fA.cpp file:fB.cpp file:fC.cpp
To navigate number files of project, open numbers.org:
file:f1.cpp file:f2.cpp file:f3.cpp
Does Dired or Ranger have a similar functionality?
This might be what Lorefnon is describing, but I don't know enough Emacs to understand it: quote from https://lorefnon.me/2015/11/15/utilities-for-efficient-filesystem-navigation-in-emacs.html
Dired buffers can be bookmarked just like ordinary buffers and we can use bookmark-jump to quickly jump to important Dired buffers opened before
I am using Emacs 25.2.1 with Evil Spacemacs and Ivy; but haven't learned Dired or Ranger yet.
I went with Drew's Dired+ and it works well. It lets you open Dired for an arbitrary set of files.
On Spacemacs, add dired+ to your dotspacemacs-additional-packages list.
C-x D A Add files to a Dired buffer. You are prompted for the Dired buffer name and for each file or dir to include.
Usage with Spacemacs:
SPC f c (spacemacs/copy-file) Write the file under new name. Saves Dired buffer to a file. SPC f s (save-buffer) Save current buffer in visited file if modified. Does not save Dired buffer to file unless it's a visited file.