Emacs: prevent cursor movement when scrolling off of the screen

前端 未结 3 366
抹茶落季
抹茶落季 2021-01-23 04:10

I am reviewing some code in emacs that has a series of for loops that span several pages. The indentations done by the author are poor so it is not easy to tell where loops begi

3条回答
  •  一整个雨季
    2021-01-23 04:45

    You can use forward-list (C-M-n) and backward-list (C-M-p) to navigate forward and backward over a parenthetical group. (Also try forward-sexp (C-M-f) and backward-sexp (C-M-b)).

    Check out the EmacsWiki on Navigating Parentheses, the Emacs manual node on matching paretheses, and this SO thread on matching brackets.

提交回复
热议问题