lambdalisue / jupyter-vim-binding

Jupyter meets Vim. Vimmer will fall in love.
2.1k stars 136 forks source link

[Feature Request] Integrate with IPython-notebook-extensions #10

Closed benvarkey closed 8 years ago

benvarkey commented 8 years ago

I was wondering if you could add the VIM bindings as an extension to https://github.com/ipython-contrib/IPython-notebook-extensions

I have a fork of your project at https://github.com/benvarkey/jupyter-vim-binding, which could be integrated to the aforementioned nbextensions project as https://github.com/benvarkey/IPython-notebook-extensions/tree/vim_binding/nbextensions/usability/vim_binding

lambdalisue commented 8 years ago

Well... I'm sorry but it's not acceptable. I would like to be the owner of this while i would like to choice the changes without any permission.

lambdalisue commented 8 years ago

But this is MIT, if you desire you can. But I don't really think it's good idea to have same plugin in different repo.

benvarkey commented 8 years ago

Yeah, I agree that it isn't a good idea to have the same extension in different repo. Guess I will just use this in my fork.

But, if you could flatten the directory (i.e, move vim_binding.js to the root and remove the nbextensions directory), that would be really helpful in keeping up-to-date with your repository. Adding the .yaml would be a bonus, but I guess that wouldn't make much sense with your setup.

benvarkey commented 8 years ago

To clarify, with a flat directory structure, I can just add your repo as submodule or subtree without any hassle.

lambdalisue commented 8 years ago

That sounds acceptable. Adding yaml is also but what's for?

lambdalisue commented 8 years ago

I guess that wouldn't make much sense with your setup

If that file is for supporting this plugin for some features of IPython-notebook-extensions, write documentation about that make sense to the file :-)

lambdalisue commented 8 years ago

Oops. I think I was completely mis-understood you.

I thought you said "Please fork IPython-contrib/IPython-notebook-extensions and add your plugin to the repository" thus I said "No."

I'm ok to have a PR from https://github.com/benvarkey/jupyter-vim-binding, just make sure the URL of README.md is correct and enough documentation about the integration in README.md. Anyway, send me a PR :-)

benvarkey commented 8 years ago

Sounds good! Will send a PR ASAP.

BTW, what did you mean by

just make sure the URL of README.md is correct

lambdalisue commented 8 years ago

URL of the following part would be changed

from notebook.nbextensions import install_nbextension
install_nbextension('https://goo.gl/5TK96v', user=True, destination="vim_binding.js")
# Or if you prefre a full URL
#install_nbextension('https://rawgithub.com/lambdalisue/jupyter-vim-binding/master/nbextensions/vim_binding.js', user=True)

And adding a section, say "For user who use ipython-contrib/IPython-notebook-extension", for explain how to install jupyter-vim-bindings through the IPython-notebook-extensions mech.

benvarkey commented 8 years ago

OK

benvarkey commented 8 years ago

I have made a pull request. Let me know your thoughts.

lambdalisue commented 8 years ago

:-)

lambdalisue commented 8 years ago

Closed via #11