Inside of the style editor for Mozilla Firefox web dev, I have my Keybindings set to 'Vim' (preferred). The problem is inside of the Style Editor I cannot exit insert mode; I usually would press escape to do this in any Vim editor, however in Mozilla this is bound to the shortcut of 'open console'. How can I either exit insert mode or change the key bindings in Firefox?
Type i to switch into insert mode so that you can start editing the file. Enter or modify the text with your file. Once you're done, press the escape key Esc to get out of insert mode and back to command mode.
You should not be able to enter text. To exit from 'insert' mode, hit ESC (the escape key). If you want to force a quit (i.e. quit without saving) type: :q!
You should type :quit and then hit the [ENTER] key. It's really easy to learn the basics of vim, and it's built right into your system.
By default, you can use ctrlc to switch to normal mode and i to go to insert mode.
I'm not sure how to change the keybindings but here are some things to get you started.
The Editor component is a thin wrapper around the CodeMirror open source editor.
vim bindings demo
vim api in the manual
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With