Vi editor issue(CKA lab)

i am facing in CKA lab while editing the .yaml file via Vi/Vim editor . i am not able to come out from insert mode even i m pressing the ESC key to come out to save or exit it. it seems it is not coming out insert mode . kindly suggest

Hi @dinessahu

How do you mean it’s not coming out of insert mode after pressing ESC?

  • Is it still saying INSERT at the bottom?
  • Is it still typing in the editor screen and not on the bottom line?
  • Is this any particular lab (link please)?
  • Is it still saying INSERT at the bottom? -yes
  • Is it still typing in the editor screen and not on the bottom line? yes
  • Is this any particular lab (link please)?- for all even, i tried to create normal file and edit the same after pressing esc it is not coming out from insert mode and displayg insert mode at bottom . i also checked my ESC button functiong in unbutu system and it is fine and working

So you are using Ubuntu on your laptop/workstation?
Are you using Chrome browser? If not, please try that.

Also it seems CTRL - [ is an alternative key binding to exit insert mode.

Hi @dinessahu ,

If you don’t mind, Please attach the screenshot.

it’s caused by the Vimium Chrome extension on my Macbook.

Exclude the https?://*.labs.kodekloud.com/* works for me.

image

3 Likes

I am using a laptop(ubuntu) and Chrome browser. How to save the changes before exiting?

When I reopen the file again using vi the changes are not showing.

Please help

:wq (write & quit)

worked for me

@Sauron thanks for sharing the link. it worked

Thank you , this has helped.