rejeep / drag-stuff.el

Drag stuff around in Emacs
233 stars 12 forks source link

Suggestion: move region left/right *by semantic unit*? #28

Open XZF0 opened 6 years ago

XZF0 commented 6 years ago

... probably depending on the mode. E.g. if a sentence is selected in text mode, it makes sense to be able to move it to before the preceding, or to after the following, sentence.

This does blur the boundary between left/right and up/down. Related, but more like before/after.

Semantic units in the sense of https://github.com/magnars/expand-region.el