I often Ctrl-Z to the command line. Is there a way to do that in response to hitting Ctrl-Z in insert mode?
The iabbrev
command does not seem to work.
Using :h CTRL-Z
as inspiration, the following solutions can be cooked:
:inoremap <c-z> <esc>:stop<cr>
or (shorter & literally closer):
:inoremap <c-z> <esc><c-z>
inoremap <c-z> <esc>:stop<cr>
? Orinoremap <c-z> <esc><c-z>
See:h CTRL-Z