search

Home  >  Q&A  >  body text

vim - emacs How to quickly select content within quotes or brackets?

For example, vim can quickly select all the content within double quotes through a case like v i ". emacs How to do it?
Thank you.

emacs Are there any tips worth recommending?

迷茫迷茫2776 days ago825

reply all(1)I'll reply

  • 迷茫

    迷茫2017-05-16 16:40:51

    The simple way is to write a macro:

    1. Search forward to "

    2. Set mark

    3. Search backward to "

    However, it is not very useful, so this is what you need: https://github.com/magnars/expand-region.el

    reply
    0
  • Cancelreply