Comments (11)
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:
- Metadata for completion showing live values of variables, docstrings, and more allowing quick inspection of variables just by typing
- A monitor for the console shell that shows the inputs and outputs in the shell itself instead of in a Vim window
- A unite IPython history source to allow searching, copying, executing, etc. IPython history items
- 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:
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.
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.
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.
@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.
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.
@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.
A version of my fork with metadata/monitor documented is available now: wilywampa@ed4c2dc
from vim-ipython.
Awesome! Thanks for passing this on. I'll try it out and let you know how I get on.
from vim-ipython.
@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.
@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.
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!
from vim-ipython.
Related Issues (20)
- Support for IPython version 4 HOT 2
- Not working after installing with Vundle HOT 3
- Using over ssh on Amazon Ec2 HOT 1
- multiple version of python support HOT 1
- Can't import IPython; using conda HOT 3
- Unable to use due to: skipping a message on shell_channel HOT 3
- Unable to access pydoc from plugin
- Could not find IPython HOT 2
- support kernels started by notebook HOT 1
- Cant not make it work under OSX
- IPython 4 support? HOT 2
- vim-ipython in cygwin HOT 3
- Why does vim-ipython preview window close with <esc> in code buffer window?
- minor readme change: leader vs localleader HOT 1
- NameError: global name 'send' is not defined
- python bug
- IPython and conda environment setup
- Jupyter notebook from vim
- Development closed? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-ipython.