且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用emacs,如何去配对(平衡)括号

更新时间:2022-11-29 12:27:10

使用 CM-right CM-left (分别 backward-sexp forward-sexp )去当前表达式的开始或结束。这适用于括号对,但也适用于简单的单词。

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.