I am using Vim in a xterm. When I quit Vim, the screen contents are

restored back to the original contents. How do I disable this? The xterm has a capability called “alternate screen”. If this capability is present, vim switches to that alternate screen upon startup and back on exit, thus restoring the original screen contents. To disable this feature, add the following line to your .vimrc file:

    :set t_ti= t_te=

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