With emacs, how to go to the pairing (balancing) parentheses

前端 未结 6 1126
感情败类
感情败类 2021-01-30 08:29

When cursor on one parentheses, how to jump to the pairing parentheses. Good to work in emacs -nw .

Just like % in Vim.

;;Afte

6条回答
  •  余生分开走
    2021-01-30 08:45

    Use C-M-right and C-M-left (respectively backward-sexp and forward-sexp) to go to the beginning or the end of the current expression. This works for parenthesis pairs but also for plain words.

提交回复
热议问题