type something in terminal

then trigger the edit in vim mode

ctrl x ctrl e

edit stuff in vim

exit vim

:wq