vi editor is not responding any command in ksh.
I tried q
, ctrl+c
, :q!
, nothing responded. I have to close connection on secureCrt and re-login.
Does anyone know cause-and solution?
vi editor is not responding any command in ksh.
I tried q
, ctrl+c
, :q!
, nothing responded. I have to close connection on secureCrt and re-login.
Does anyone know cause-and solution?
I think you wanted to save the file with CTRL-s
. That's a screen-lock. Use CTRL-q
to unlock and save with :w
.
Did you try ESC-colon-q-bang?
:q!
ESC to get out of insert mode, colon is to enter command mode, 'q' to quit, the bang is to discard any changes. It looks like you may just be missing the colon for command mode.
Check out this post for other ways to exit vi
: https://stackoverflow.com/a/11828573/2543416