Skip to content
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

Studio doesn't work properly with "vi" #939

Closed
Priminus opened this issue Jun 21, 2016 · 2 comments
Closed

Studio doesn't work properly with "vi" #939

Priminus opened this issue Jun 21, 2016 · 2 comments

Comments

@Priminus
Copy link

I'm running a Virtualbox on Windows with CentOS 7.
When I SSH in from Cygwin and use "vi" from within studio, keystrokes display letters instead (see screenshot).

habitat_editor_issue

I suspected maybe it was Cygwin since Windows isn't supported, but I get similar odd behaviour when running inside of Virtualbox. The difference is keystrokes don't display characters, but "i" doesn't quite enable "Insert Mode" properly (e.g. backspace doesn't backspace).

Possibly no "vi" support?

@smith
Copy link
Contributor

smith commented Jun 23, 2016

Pretty sure this doesn't have to do with Habitat but may be related to your terminal settings. Perhaps setting TERM=xterm would help or looking at the settings of your terminal emulator.

Closing this, but if you can confirm that this behavior is actually caused by a bug in Habitat, please reopen and we can investigate. Thanks!

@smith smith closed this as completed Jun 23, 2016
@ElectricWarr
Copy link

I have the same issue (albeit on Amazon Linux), and a potential solution:

Seems inside a studio Vim runs in Vi compatability mode - if you type i for insert mode, --INSERT-- isn't displayed and the editor behaves mostly as if you were using Vi.

Entering the command :set nocp should make it more usable 👍

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

No branches or pull requests

3 participants