How to switch between visible buffers in emacs?

前端 未结 5 2062
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-07 19:51

If I am in split-screen viewing 2 different buffers on Emacs and the cursor is on the top buffer, what\'s a quick way to move the cursor to the bottom buffer?

Bonus

5条回答
  •  难免孤独
    2020-12-07 20:48

    With respect to the bonus question, if you know the command (other-window), and you invoke it with M-x other-window, Emacs will show a brief message in the minibuffer stating: "You can run the command `other-window' with C-x n".

    There is also M-x where-is which prompts for a command and gives you the current bindings that result in that command (if any).

    There is a tutorial that's shipped with Emacs. It actually has the answer to your question (see the section MULTIPLE WINDOWS about 80% into the tutorial). The tutorial can be accessed via C-h t, or M-x help-with-tutorial. There's also a link to the tutorial on the initial splash screen of Emacs. Right below the link to the tutorial is a link to the on-line Emacs Guided Tour. The tutorial walks you through basic editing/movement commands, the guided tour is more of an introduction to what Emacs has to offer.

提交回复
热议问题