3 ms·
whoa this is cool does it understand syntax boundaries like curly braces / functions? ('undo within function' would be key). or just line #?
by awinter-py 6y ago
whoa this is cool
does it understand syntax boundaries like curly braces / functions? ('undo within function' would be key). or just line #?
- Koshkin 6y agoRegions in emacs do not need to consist of whole lines.
- ssivark 6y agoThat concern is isolated to your region selection tool, and orthogonal to the undo functionality :-) So, you could select by lines, or intelligently select by parentheses/braces, etc. And ask these are nicely composable, so you could easily set up custom shortcuts if you don’t like the sequence of keystrokes. For eg, see https://www.johndcook.com/blog/2017/08/09/selecting-things-in-emacs/ https://www.johndcook.com/blog/2017/08/09/selecting-things-i...