In insert mode, use ctrl+o
to go to normal mode for just one command:
ctrl+o h
- move cursor leftctrl+o l
- move cursor rightctrl+o j
- move cursor downctrl+o k
- move cursor up
ctrl+w
- delete word to the left of cursorctrl+o d
- delete everything to the right of cursorctrl+u
- delete everything to the left of cursorctrl+h
- backspace/deletectrl+j
- insert newlinectrl+t
- indent current linectrl+d
- un-indent current line