How to mark the text between the parentheses in Emacs?

后端 未结 4 785
眼角桃花
眼角桃花 2021-02-01 19:31

Any such function or elisp script? I want the equivalent function as vi\" sequence in vim.

4条回答
  •  梦毁少年i
    2021-02-01 20:05

    Xah Lee has an emacs-lisp function which achieves this called xah-select-text-in-quote. It is available from his website:

    Select text between the nearest left and right delimiters. Delimiters here includes the following chars: \"<>(){}[]“”‘’‹›«»「」『』【】〖〗《》〈〉〔〕(). This command does not properly deal with nested brackets.

提交回复
热议问题