awesome screen/vim hack

Posted on April 22, 2008
Filed Under programming |

add this to ~/.vimrc:

if $TERM=='screen'
   exe "set title titlestring=vim:%f"
   exe "set title t_ts=\<ESC>k t_fs=\<ESC>\\"
endif

and vim will automatically set the title of screen windows to:

vim:<file opened>

thanks go to:

http://gunkies.org/blog/?p=19

Comments

Leave a Reply