purcell / whole-line-or-region

In Emacs, operate on current line if no region is active
114 stars 12 forks source link

Configures whether to always yank before current line or at point #19

Closed xenodium closed 3 years ago

xenodium commented 3 years ago

Thanks the wonderful package. It enabled me to remove some funky function advices I had for a similar purpose.

One area I can't seem to get used to is the "yank above" behavior. I find myself wanting to yank at point by default and use an alternate key binding to yank below.

Would you be open to making the yanking behavior configurable? Added whole-line-or-region-yank-before-current-line for this, but unsure if there's a better way to accomplish?

xenodium commented 3 years ago

Started writing tests for this, but then decided to try to get used to the default behaviour. I'm getting used to it. Gonna withdraw PR for now. Thanks for the great package.

purcell commented 3 years ago

Thanks, sorry I was unresponsive back then. There may be some merit in making this configurable at some point, but - same as you - I'm somewhat used to it now.