Usage
If you’re launching compilers, servers, linters, etc you’ll probably want to scroll the command’s buffer to read through the output. Since commands run in term buffers, which “swallow” usual Emacs keybindings, switching to the buffer and pressing the C-v
, M-v
, PageUp
, and PageDown
won’t work.
Luckily, there’s an even better way.
You can navigate the command buffer without even leaving the buffer where you’re doing your main work by using the following keybindings:
-
M-<home>
(akaAlt+Home
) to scroll the other window to the top -
M-<next>
orC-M-v
(akaAlt+PageDown
andCtrl+Alt+v
) to scroll the other window down -
M-<prior>
orC-M-S-v
(akaAlt+PageUp
andCtrl+Alt+Shift+v
) to scroll the other window up -
M-<end>
(akaAlt+End
) to scroll the other window to the bottom.