Emacs, switch to previous window

后端 未结 13 1223
你的背包
你的背包 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条回答
  •  猫巷女王i
    2020-12-04 07:28

    You might also want to try using windmove which lets you navigate to the window of your choice based on geometry. I have the following in my .emacs file to change windows using C-x arrow-key.

    (global-set-key (kbd "C-x ") 'windmove-up)
    (global-set-key (kbd "C-x ") 'windmove-down)
    (global-set-key (kbd "C-x ") 'windmove-right)
    (global-set-key (kbd "C-x ") 'windmove-left)
    

提交回复
热议问题