Emacs, switch to previous window

后端 未结 13 1187
你的背包
你的背包 2020-12-04 07:12

In Emacs, C-x o takes me to the next window.

What keyboard macro takes me to the previous window in Emacs?

13条回答
  •  攒了一身酷
    2020-12-04 07:30

    If you work with multiple emacs windows (>3) a lot and you will want to save some keystrokes add this to your init file and you'll be better off:

    (defun frame-bck()
      (interactive)
      (other-window-or-frame -1)
    )
    (define-key (current-global-map) (kbd "M-o") 'other-window-or-frame)
    (define-key (current-global-map) (kbd "M-O") 'frame-bck)
    

    Now just cycle quickly thru the windows with M-o

提交回复
热议问题