" Restore terminal screen when exiting Vim if &term =~ "xterm" let &t_ti = "\<Esc>[?47h" let &t_te = "\<Esc>[?47l" endif
Wednesday, August 22, 2012
How to restore vim screen when exiting
When you exit vim it does not restore the terminal screen (particularly in FreeBSD), here is how to fix that (file ~/.vimrc):
Labels:
freebsd
,
tricks
,
troubleshooting
,
vim
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment