в vim, набрав :help norestorescreen, говорит, чтобы поставить следующее в вашем .vimrc:
For non-Windows Vim: You can set or reset the 't_ti' and 't_te'
options in your .vimrc. To disable restoring:
set t_ti= t_te=
Это сработало для меня с помощью Ubuntu 12.04 с Vim 7.3.429.