Try expand region package from elpa.
this post was submitted on 12 Oct 2023
0 points (50.0% liked)
Emacs
311 readers
1 users here now
A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!
Get Emacs
Rules
- Posts should be emacs related
- Be kind please
- Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.
Emacs Resources
Emacs Tutorials
- Beginner’s Guide to Emacs
- Absolute Beginner's Guide to Emacs
- How to Learn Emacs: A Hand-drawn One-pager for Beginners
Useful Emacs configuration files and distributions
Quick pain-saver tip
founded 1 year ago
MODERATORS
How does this work? Does the q become a new text object meaning "quoted" in normal mode?
So, can I do cq in normal mode and then "text" becomes "" with the cursor in the middle of the quotes with the mode being changed to insert?
There is evil-textobj-anyblock which does a similar thing (you can configure evil-textobj-anyblock-blocks
to only use quotes, if you don't like that by default it uses all kinds of blocks)