4 ms·
I'm using Emacs since 10+ but the one thing that never worked for me is window switching with more than two windows. Do you use C-x o to switch between multiple
by thibran 6y ago
I'm using Emacs since 10+ but the one thing that never worked for me is window switching with more than two windows. Do you use C-x o to switch between multiple windows or what do you use?
That's what I currently use to switch quickly:
(use-package ace-window
:defer t
:init (key-chord-define-global "ii" #'ace-window)
:config
(setf aw-scope 'frame))
- antipaul 6y agoNot OP, but I’ve had same difficulty switching among windows. I remap “other window” shortcut to something more convenient. See https://emacs.stackexchange.com/a/3471 https://emacs.stackexchange.com/a/3471
- TeMPOraL 6y agoTry this: (use-package window-numbering :ensure t :config (window-numbering-mode)) This will rebind M-1 through M-0 to become window-switching keys, and also display each window's number in the modeline. I've been using this for years now, and haven't found anything else that beats the speed of pressing M-1 through M-5 with my left hand (I rarely have more than 5 windows per frame).
- thibran 6y agoThanks, have added and configured it -> the power of Emacs.
- sateesh 6y agoYou can also use WindMove, built into emacs (https://www.emacswiki.org/emacs/WindMove https://www.emacswiki.org/emacs/WindMove) and use Shift, and arrow keys to move from one window to the other.
- globuous 6y agoYes, I use ace-window as well: (global-set-key (kbd "M-o") 'ace-window) Combined with maximize-window and winner-undo, I'm in heaven :)