In Emacs we can scroll inactive window using certain commands
But not all details are listed in the manual.
C-M-v can scroll down the other window
my intention is to scroll up the other window, how could I do that ?
On many terminals you can do M-PageUp and M-PageDn to scroll the other window. It's nice if you're already used to using PageUp/PageDn for scrolling. FWIW, the default bindings for M-PageUp (i.e. M-<prior> ) and M-PageDown (i.e. M-<next> ) are scroll-other-window and scroll-other-window-down .
The commands M-x scroll-up-line and M-x scroll-down-line scroll the current window by one line at a time.
To move between the buffers, type C-x b. Emacs shows you a default buffer name. Press Enter if that's the buffer you want, or type the first few characters of the correct buffer name and press Tab. Emacs fills in the rest of the name.
Try C-M-S-v, which is scroll-other-window-down
.
You can find such key bindings by doing C-h b (describe-bindings
) which populates the *Help*
buffer with a list of all the key bindings and associated commands for the current buffer. A quick search through that for scroll-other
showed the binding you mentioned, as well as the one I listed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With