4

Is it possible to clone a part of a document in another part of the document? So that changing one, changes both?

Orgmodes
  • 85
  • 4

1 Answers1

5

Yes: there's for example text-clone-create which can be used for that (typically used for small chunks of text such as the tag names in XML's tag pairs), as well as the lentic package.

Stefan
  • 26,154
  • 3
  • 46
  • 84
  • Thanks for answering! You mention it is for small texts, but what about entire paragraphs or even an entire outline? Would it still work? – Orgmodes Apr 20 '16 at 21:15
  • `text-clone-create` was not designed for large chunks of text. It might work, but buyer beware. `lentic` OTOH was designed to keep whole buffers in sync, so it should work fine even for large chunks of text. – Stefan Apr 21 '16 at 15:16