How do I prevent <Ctrl-Z> from suspending Vim?

You can map <Ctrl-Z> to prevent the suspending. Here are some suggestions: - Make <Ctrl-Z> do nothing:

    :map  

- Make <Ctrl-Z> start a shell:

    :map  :shell

- Make <Ctrl-Z> give an error message:

    :map  :"suspending disabled

For the last example, the double quote is necessary in order to keep the message on the status line.

Read free Software Algorithms and Computer Science Books by CodeAhoy Learn.

Introduction to Recursion and Backtracking

Sorting Algorithms

Introduction to C Programming Language

And More...

Speak Your Mind