How to bind Alt-p to up arrow instead of π
Normally we use ~/Library/KeyBindings/DefaultKeyBinding.dict file to customize some keys.

{
    "~p" = "moveUp:";
    "~n" = "moveDown:"; /* not really works */
}


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.