Nithin Varghese:
Hi inside the lab terminal I am unable to edit file in the vim editor as soon as I edit and press esc to enter “:wq” it goes out of the terminal
Tej_Singh_Rana:
Hello, @Nithin Varghese
After entering ‘:wq’, it will save your changes and exit from the vi editor.
This isn’t working for me either (Chrome / macOS 12.0.1). When I try to press escape, the carat/cursor just turns from solid to hollow, meaning I am basically escaping out into the main window rather than being able to escape into command mode. I’m quite familiar with vim, so this is an issue of keyboard event handling. Any ideas?
After further experimentation it appears ‘Ctrl-C’ works in this case to get back to command mode.
Ctrl-C works to get to command mode, but only halfway. The hint text says type :qa! and press to abandon your changes.
I’ve tried versions of q and wq and can’t seem to get it to respond correctly - whats the deal here?