Why Nostr? What is Njump?
2025-03-31 15:22:18

Zhixuan Yang on Nostr: Many file formats have some kinds of inclusion directive, like "#include" for C, ...

Many file formats have some kinds of inclusion directive, like "#include" for C, "\input" for LaTeX, "\transclude" for forester, "import" for many programming languages.

I would like to have a text editor feature that allows me to visually expand an inclusion directive in the text buffer, just like how folds of text regions work, while actual changes are still made to the referenced file.

This would be very useful when working with projects with many inter-linked files because most text editors are not very good at jumping around files/buffers.
However, this feature looks impossible to implement nicely in vim. Does anyone know an editor that supports this or is hopeful to support this?
Author Public Key
npub158nf425n9hn3n3zhdgl7236cn59yj99vksun39tdtm48qkqjnx6srauyrp