meow icon indicating copy to clipboard operation
meow copied to clipboard

Allow custom `delete-region`, `insert` functions

Open 45mg opened this issue 1 year ago • 2 comments

Make it possible to specify which functions are used to delete the region and insert text.

This is needed to get Meow to work with modes like Vterm, that define their own delete-region and insert functions, without massive code duplication.

See meow-vterm for an example of this - it requires this patch to work.

45mg avatar Jun 22 '24 06:06 45mg

Force-push to define functions meow--insert and meow--delete-region, which should be less annoying than having to (funcall meow--X-function) every time.

45mg avatar Jun 26 '24 15:06 45mg

Force-push because the previous one confused funcall and apply. Oops.

45mg avatar Jun 27 '24 04:06 45mg