Not able save and exit from Lab terminal

Not able save and exit from Lab terminal using when editing file using vim editor and enterin g the command :wq! after modifying any file. When I enter :wq! it put the text where the cursor is instead of saving and exit. Please help me with this I can not proceed due to this issue :pensive:

Hello, @abhinav26
We have to press ESC to exit from the Insert mode. Is it not working?

Thanks it is now working :slightly_smiling_face:

Hello @Tej-Singh-Rana. ESC not working with Firefox to exit the Insert mode.
Update: I found the problem, the terminal is conflict with the vim plugin I use in the Firefox.

For the benefit of anyone else coming to this question, please read https://github.com/kodekloudhub/community-faq/blob/main/docs/vi-101.md