-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vim support #287
Comments
I've never been a regular user of Vim, so I don't plan to add support for it. If you or anyone else is interested in contributing support for Vim, there's a description of the process in the contributing file. It mostly involves launching a Python subprocess to call the tracer code, and then displaying the results in a side-by-side window. I did a little searching for how to write a Vim plugin, and it looks like there's lots of documentation. One example is Learn Vimscript the Hard Way. |
So currently there is a plugin here that does something similar: https://github.com/metakirby5/codi.vim
The difference ofcourse is that codi gets ouput put from the Repl and Is it possible to run the plugin as a script e.g run python live-py-plugin.py > output.txt |
Thanks for doing the research. Yes, the core analysis is done by a Python package called Let me know if you need any hints on how to make Space Tracer do what you need. |
Simple solution :
Here is my script (in zsh) (named #!/bin/zsh
fswatch -0 $1 | while read -d "" event
do
clear
space_tracer $1
done It uses fswatch. Here is the command to run it in a vim split terminal : And, each time you save your file, it will update ! |
Any plans to support Vim
The text was updated successfully, but these errors were encountered: