Closed llinfeng closed 6 years ago
I found a funny way to have WSL run jupyter lab
through a "Windows native browser", and I am still stuck with adding the following two mappings to the jupyter lab
on my WSL subsystem.
Ctrl + [
for escaping from insert mode;Ctrl + ]
for getting to move between cells.
commands.addKeyBinding({
selector: '.jp-Notebook.jp-mod-editMode',
keys: ['Ctrl ['],
command: 'leave-insert-mode'
});
commands.addKeyBinding({
selector: '.jp-Notebook.jp-mod-editMode',
keys: ['Ctrl ]'],
command: 'notebook:enter-command-mode'
});
Here goes the error messages that I got when trying to issue the third step of "installing the development version" (jupyter labextension link .
)
Implicitly, the new commit mentioned some phrases jlab 0.35...
, and I am attempting to get this newer version of Jupyterlab all together. Relevant commands are:
conda install -c conda-forge jupyterlab=0.35.1
Using the WSL subsystem on Windows, I managed to build a local customized version after updating the JupyterLab version to 0.35.1. I used conda
, and here goes the set of commands:
conda install -c conda-forge jupyterlab=0.35.1
jlpm install
jlpm run build
jupyter labextension link .
The local build will run as of 2018-10-17, and no restarting is needed: within the same bash session, firing jupyter lab
will have the new add-on loaded.
I cloned the repo and tried to issue the first command for development install, and here goes the error message that I see:
Failed attempts
I have tried to install
node.js
though its Windows installer; and have tried to call thenodejs
installed through Anaconda. Together with thejlpm
command, all three attempts yielded the same error.npm run build
/c/ProgramData/Anaconda3/npm run build
On more question: is there an easier way to set customized mappings?
In reference to issue #17, I was happy to have implemented a few mappings of mine in this fork. However, it has been challenging to replicate per my recent OS-rebuild. Please advise if this is worth a new issue to discuss.