meow-edit / meow

Yet another modal editing on Emacs / 猫态编辑
GNU General Public License v3.0
1.17k stars 134 forks source link

act on selection #620

Open noncopyable opened 2 months ago

noncopyable commented 2 months ago

first, thanks for this awesome mode.

i am probably missing some functionality, probably exists in #-thing-# wouldn't it be great if meow had a binding that calls, "meow--act-on-selection" (like avy act) that switches to default modeless emacs (insert), keeping selected region. then we are free to call any ###-region command. after that command executed, automagically switches back to normal mode.

maybe, also adding a act-on-selection-modemap where we could do things like: act-modemap-leader s => surround act-modemap-leader i => string-inflection ...

DogLooksGood commented 4 weeks ago

Hey, the surrounding stuff can actually be built into a package, or built with a paren handling package. I think it's better to use an existing one instead of adding features in Meow.