Coder Social home page Coder Social logo

Comments (11)

wilywampa avatar wilywampa commented on September 6, 2024 2

The main reason I haven't replied yet is I'm just trying to figure out the best way to get all the functionality that I've put together for myself out to everyone else. Some features I've come to depend on which are built on features that I will maintain in my fork:

  1. Metadata for completion showing live values of variables, docstrings, and more allowing quick inspection of variables just by typing
  2. A monitor for the console shell that shows the inputs and outputs in the shell itself instead of in a Vim window
  3. A unite IPython history source to allow searching, copying, executing, etc. IPython history items
  4. A scratch buffer that behaves a lot like an IPython notebook but with the ability to act on text objects/motions instead of just cells (plus full Vim editing support, which is what we're all here for, right?)

I made a little demo to show off some of this stuff:

ipydemo3

None of this is really documented and most of it is external to the Vim plugin; some even requires modification to IPython itself. If there's any interest I can maybe put some effort into making things usable for other people.

from vim-ipython.

wmvanvliet avatar wmvanvliet commented on September 6, 2024 1

FYI: I've been working from the Jupyter QtConsole end to support better integration with text editors like Vim: jupyter/qtconsole#196

from vim-ipython.

ocehugo avatar ocehugo commented on September 6, 2024

I believe that if someone is keen to take the the lead (@wilywampa looks like the guy :P) and other people that make changes get together and organize the pull requests the thing will get better. I did some issues and pull requests not required since I didn't check pther pulls, etc. From the fork graph I believe that @wilywampa and @jjhelmus are the guys to talk about it, since most of other forks were doing exactly the same (support for python3 or jupyter, etc).

from vim-ipython.

khughitt avatar khughitt commented on September 6, 2024

@ivanov Perhaps you could add @wilywampa as a maintainer for the repo? This way he could help to merge some of the PRs.

This seems to have worked quite well recently for another NerdCommenter (e.g. see discussion here: preservim/nerdcommenter#218)

from vim-ipython.

ocehugo avatar ocehugo commented on September 6, 2024

Hi, i'm interested particularly in 1. and 2. (mostly in the console monitor). I disable the ipython buffer since it's too slow and all the time it's get in the way ( you can't check if the code was run though, sometimes a little bit problematic but easily handled by syntastic but also required to run the code checker or save the file). The demonstration video is nice, but too quick (or I need more coffee).

I also ask myself if 1 is build to work together with YouCompleteMe.

I do not write vimscripts but i can try to use/debug a little bit. Let me know when you put some help/readme with your changes,installing, like mappings and what each option do what, so I can give a try

from vim-ipython.

smutch avatar smutch commented on September 6, 2024

@wilywampa - that looks amazing! Thanks for sharing your progress!

I too am having a little trouble following the demo video, but the features you've described sound great. If you were able to find the time to develop your branch into a more friendly version for others to use then I too would be happy and willing to help out with testing etc...

from vim-ipython.

wilywampa avatar wilywampa commented on September 6, 2024

A version of my fork with metadata/monitor documented is available now: wilywampa@ed4c2dc

from vim-ipython.

smutch avatar smutch commented on September 6, 2024

Awesome! Thanks for passing this on. I'll try it out and let you know how I get on.

from vim-ipython.

ocehugo avatar ocehugo commented on September 6, 2024

@wilywampa, could you open the issues tab on your fork? I had some problems, like the command to run several lines do not work and I can't find some other functions names (Like runCell for example).

from vim-ipython.

wilywampa avatar wilywampa commented on September 6, 2024

@ocehugo I opened up issues and added an implementation for <Plug>(IPython-RunCell). It actually runs a paragraph but it's built on a <Plug>(IPython-RunTextObj) map that could be combined with, for example, https://github.com/kana/vim-textobj-user to define a cell however you like.

from vim-ipython.

ivanov avatar ivanov commented on September 6, 2024

Thanks @smutch for the kind words, and all of you for playing with vim-ipython - I'm glad it's been useful, and sorry to have been rather absent in the past few years.

Software does not die. It is just a collections of bits. The bits are there for you to use and bend and meld to your own needs. I am glad that some of you have been able to make progress with your own forks. It has always been my intent to continue development of vim-ipython, but other things got in the way of that. I hope you all understand and I will try to do better. I am closing this issue to signal that this project is not dead, feel free to provide any other updates here or by opening a new issue.

Happy hacking! :bowtie:

from vim-ipython.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.