Vim binding in jupyterhub notebook

Anyone looking for integrating vim binding extension in jupyterhub notebook can follow below steps.

Add an explicit pip dependency on Conda:

# This is the standard conda configuration file. Use this file to list
# the conda packages that you need installed in your environment.
channels:
– conda-forge
dependencies:
– pip
# Add other packages here
– pip:
– jupyterlab_vim

Add below two lines in DockerFile (make sure below lines has root access) :

COPY environment.yml /tmp/
RUN mamba env update –name ${CONDA_ENV} -f /tmp/environment.yml

NOTE: Notebook Vim binding is enabled by default once deployed:

Leave a comment