I would like to use CTRL-N
and CTRL-P
to select the next or previous entry in the context-sensitive autocompletion menu of Mathematica 11.20 on macOS Sierra (10.12).
The questions
- Emacs key bind on Mathematica Linux
- Move the cursor in a notebook using the keyboard
- Emacs key bind on Mathematica Linux
do not answer this.
I’ve already created the file
❯ ls ~/Library/Mathematica/SystemFiles/FrontEnd/TextResources/Macintosh/ KeyEventTranslations.tr
by copying the default. I am not sure which entry is responsible for the completion menu. Possibly candidates are
"MoveNext", "MoveNextExpression", "MoveNextLine", "MoveNextPlaceHolder", "MoveNextWord", "NextFunctionTemplate", "SelectNext", "SelectNextExpression", "SelectNextLine", "SelectNextWord",