For some tasks I prefer single big files over splitting a project (say: a LaTeX report, a medium-sized python script) into separate smaller files, e.g. for easier searching and search-and-replace. However for editing it is often preferable to have separate views of different parts of a project, favoring several small files.
Is the some mode/package for emacs that allows editing parts of files as if they were a separate file, while keeping the buffer synchronized with all other views of the file? I am aware of clone-indirect-buffer
, but while it achieves part of the intent, I'd prefer a method that limits the indirect buffer to a specific section of the file. Think e.g. of org-modes C-c '
but implemented with an indirect buffer. Ideally the implementation would support some syntax to define sections.
I think the LEO editor is build around roughly the concept that I want for emacs, though I never tried it (didn't work on my system).