Here is the trick. You can map the keys Ctrl + Z. This can be done by editing the .vimrc file. Add the following lines to the .vimrc file.
nnoremap <cz> :u<CR> " Avoid using this** inoremap <cz> <co>:u<CR>
This may not be the preferred method, but may be used.
** Ctrl + Z is used on Linux to pause the current program / process.
madD7 Oct 20 '16 at 4:41 2016-10-20 04:41
source share