dunovank / jupyter-themes

Custom Jupyter Notebook Themes
MIT License
9.74k stars 1.06k forks source link

Custom vim bindings deleted from custom.js #426

Open caticoa3 opened 3 years ago

caticoa3 commented 3 years ago

When I chose a theme or change between themes, the .../.jupyter/custom/custom.js file is reset - removing all customization. As a workaround I renamed custom.js as a temp file, then change the jupyter theme, and renaming the temp back to custom.js:

mv ~/.jupyter/custom/custom.js ~/.jupyter/custom/temp_custom.js
jt -t onedork -fs 95 -altp -tfs 11 -nfs 115 -cellw 88% -T -vim
mv ~/.jupyter/custom/temp_custom.js ~/.jupyter/custom/custom.js

My first look at the source code in the vim section I see that .../nbextensions/vim_biding/vim_binding.css is modified, but not custom.js.

Anyhow, hope this helps anyone looking for a workaround. Edit: related #415 #357