Vi / nano editor in online terminal help

While trying to create new files ( k8s resource definitions ), i’m trying to use vi / nano but unable to write the contents with either of the vi commands i typically use which are ZZ, :wq as the escape from insert mode is not happening.

It seems the esc key code is interpreted by the browser. so tried ctrl + [ to come out of insert mode , it seems it came out but still not able to issue any of the write and quit commands.

The issue is caused by the vimium plugin in my chrome browser. I disabled the plugin for this site and it is working as expected.

3 Likes

I have the same issue with a fresh installation of firefox on windows 10, using no extensions. VI in the browser refuses to accept an Esc key.

Hi @Phanidhar,

Thanks a lots! How did you find this is from vimium please?

Best,
Alan