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.