n-riesco / ijavascript

IJavascript is a javascript kernel for the Jupyter notebook
Other
2.19k stars 185 forks source link

There is no obvious way to customize jupyter console to use vi editing mode... #113

Closed mario-grgic closed 7 years ago

mario-grgic commented 7 years ago

IPython jupyter console has concept of profiles where you can customize the IPython color schemes, and slew of other settings, including most importantly vi-editing mode for the command line.

Is there such capability for javascript kernel as well?

mario-grgic commented 7 years ago

Ok, apparently you can run jupyter console --generate-config and then get jupyter config file in ~/.jupyter/jupyter_console_config.py that you can then customize.

Sorry about the confusion.

n-riesco commented 7 years ago

It's also possible to use ijsconsole to pass command flags onto jupyter console.

For example: ijsconsole --ZMQTerminalInteractiveShell.editing_mode=vi

If you need to preload any javascript libraries, ijsconsole accepts the flag --ijs-startup-script=path/to/file/or/folder.