Change kernel
kiyoon opened this issue · comments
- Add a command
:JupyniumSelectKernel
which will list all kernels you can switch to.
- default cursor (selection) to the current kernel
- Done in #38
- When starting sync by creating a new ipynb file, automatically choose the appropriate kernel.
- It will only work if the neovim and Jupynium runs on the same computer.
- Don't change kernel and use the default ipython3 if it can't find the match.
- Respect filetype.
- Choose based on
conda_env_path
if conda environment is activated - Done in #39
- Add a command
:JupyniumRestartKernel
- Done in #31
Useful javascript functions:
Jupyter.kernelselector.kernelspecs
Jupyter.notebook.kernel.name
Jupyter.kernelselector.set_kernel('conda-env-jupyter-r')
Jupyter.notebook.kernel.restart()
Jupyter.kernelselector.kernelspecs['conda-env-jupynium-py'].spec.language