Changing window faster in Emacs (or repeating last shortcut with a single strike)

后端 未结 4 1473
無奈伤痛
無奈伤痛 2021-01-05 14:23

if I want to change windows in emacs I do C-x o and that\'s fine with me...but when I want to change window lots of times in a row C-x o is not so convenient...is there a wa

4条回答
  •  青春惊慌失措
    2021-01-05 15:01

    You have, say, 10 windows in the frame, and you are doing M-x other-window a lots of times in a row, I take it you mean to jump from, say window #2 to window #8 and then on to window #1 and so on. By doing lots of other-window in a row, I would imagine you do nothing of importance until you reach the desired window.

    See if universal-argument bound to C-u helps. In the 10 window frame, if you are in window #3 and want to go to window #9, you are hopping to the 6th next window. So you would do C-u 6 C-x o. Or, you could as well do C-u -4 C-x o and reach window #9 from window #3.

提交回复
热议问题