ywangd / stash

StaSh - Shell for Pythonista
MIT License
1.94k stars 227 forks source link

Adding Vim #118

Open briarfox opened 9 years ago

briarfox commented 9 years ago

Just found a pure python implementation of vim, It looks like it would be a great addition to stash, i'll see if I can get it working on the ipad. If anyone is interested: https://github.com/jonathanslenders/pyvim

ywangd commented 9 years ago

This is an interesting project. But I suspect it would work in Pythonista as it most likely requires modules like termios for manipulating screen text. I could be wrong. Please let me know your findings. Thanks!

wireddude commented 8 years ago

+1 love the idea. I actually attempted to install it using pip, but have no idea where it ended up in the filesystem.

ywangd commented 8 years ago

pip installs all packages to the site-packages folder.

wireddude commented 8 years ago

Ok, I see it there, just not the actual executable I'm supposed to run to launch it.

Seanld commented 7 years ago

vim is a text editor that has runs on a binary executable. You won't be able to run it in Pythonista unless you make a port of it to Python. The other issue is that I don't think StaSh has a cell-manipulation system where you can color cells on the shell like pixels on a screen, which is how Vim operates.

Seanld commented 7 years ago

Since you found a pure Python version, it should work. The only thing I can think of where it wouldn't work is StaSh's stdout. I don't know if it will be able to handle Vim's cell UI manipulation.