Mac binds alt-p and alt-n to π and ˜. How to make it behave as up and down arrow?
How to bind Alt-p to up arrow instead of π
keybindingskeyboard
Related Question
- MacOS – bind two arrow keys to a single shortcut
- MacOS – Make Emacs-style shortcuts behave differently than arrow keys.
- MacOS – How to remap ‘Shift & Up/Down arrow keys’ to type actual up & down arrows
- CMD+Left Arrow, CMD+Right Arrow — Jump Word
- Toggling between chunk of input in iterm2 with “Alt + arrow left/right” writes “[D” instead jumping from chunk to chunk
- Map right shift key to behave like top arrow
- MacOS – Map Option to Alt instead of Alt Gr
Best Answer
Normally we use
~/Library/KeyBindings/DefaultKeyBinding.dict
file to customize some keys.However I found it does not work for alt-n.
Would you consider to use ctrl-p and ctrl-n instead? It is of standard emacs/readline key combination.