Change Profiles Keyboard preferences in Terminal on Mac
Use Keyboard preferences in Terminal to set the keyboard behavior for a Terminal window profile.
To change these preferences in the Terminal app on your Mac, choose Terminal > Preferences, click Profiles, select a profile, then click Keyboard.
Note: The options you choose in this preference pane apply only to the profile you select. They don’t apply to the Terminal app in general.
To modify a key, select it, click Edit, change the key settings, then click OK.
To create a new key, click the Add button under the function key list.
To remove a key, select a key in the list, then click the Remove button under the function key list.
Use Option as Meta key
To have the Option key on the keyboard act as a meta key, select “Use Option as Meta key.” This is useful for computers running X11 and for some text editors.
Scroll alternate screen
To enable alternate screen scrolling, select “Scroll alternate screen.”