Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

VI editor again #89

Open
stona1 opened this issue Feb 12, 2018 · 3 comments
Open

VI editor again #89

stona1 opened this issue Feb 12, 2018 · 3 comments

Comments

@stona1
Copy link

stona1 commented Feb 12, 2018

Hi,

I have seen some time topic about introducing VIM in OpenTerm. Conclusion was that there is VIM for iOS and we do not need it in Terminal.
I think it is still quite many fields when ability to use VI or VIM inside OpenTerm will be helpful. Starting from simple learning using VI inside Terminal going thru possibility just edit files inside OpenTerm and finishing on making thanks this OpenTerm experience closer to real terminal. What you think?

BR
Arek

@ian-mcdowell
Copy link
Contributor

ian-mcdowell commented Feb 12, 2018

I agree that vi/vim would be an awesome addition to the app. There is additional work required until we will be able to support it.

OpenTerm has only until recently supported commands with plain text output, and no input from the user. Before OpenTerm can run utilities that have a more advanced interface like this one, it will need additional improvements to its handling of escape codes and other terminal-like output. Work is ongoing here, see #85, #71, and #5.

We will also need to get the editor compiling in the ios_system project.

@stona1
Copy link
Author

stona1 commented Feb 12, 2018

Thank you for your clarification. I did not realised that it so complicated. I keep my fingers crossed that people with enough skills will add this functionality :)

@holzschu
Copy link
Contributor

I'm using vim intensely on my iPad. The current setting, "share filename" (enter) "open in iVim" (click) from OpenTerm, or ":ido" (enter), pick document (click) from iVim works pretty well for me (YMMV). Both edit the files inside OpenTerm sandbox.

In addition to compiling vim (difficult) and supporting escape codes to write anywhere on screen, a practical vim inside OpenTerm would require changing the on-screen keyboard, to add at least the Escape key.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants