The laptop has no page-up/down buttons. How can I have page-up/down on the terminal, e.g. when I edit with vi?
Generally on the Macbook page up and page down are a key combination. On current Macbooks Page Up is the FN (function) key (at the bottom left of the keyboard) and up arrow. Page down is FN key and down arrow. On some older macbooks I believe you need to use the 'Apple' key (which is located in roughly the same place as the Windows key on a PC keyboard) instead.
In 2017 macOS Sierra 10.12 I had to use these:
- Page UP/DOWN:
- up fncommandup
- down fncommanddown
moreover, these are also useful:
- marking: (inputs can be marked automatically; fuzzy for long output)
- set commandU
- unset commandshiftU
- previous fncommandup
- next fncommanddown
- set shiftcommandM
- previous optioncommandup
- next optioncommanddown