vim do command while in insert code example
Example: vim use normal keys in insert mode
Just hold down "Alt" key!
Example:
---------------------
Suppose you are in insert mode and want to delete a line without
switching to normal mode.
Usually you should press dd to remove a line but in this case
hold down Alt key and then press dd. That's it! and It's gonna
switch to normal mode automatically.
---------------------