If you have ready my other posts (specifically Useful .cshrc commands), you know that I like to have the title of the terminal set to my current working directory. However, after exiting VIM, I always end up with the frustrating “Thanks for flying VIM” message in the title.
I had read on other blogs and forums that adding
set notitle
to your .vimrc file will prevent the “Thanks for flying VIM” message from showing up.Well, that didn’t work for me. After a lot of scouring the internet, I was able to find the solution.
let &titleold=getcwd()
Adding this to your .vimrc file will, upon exit from vim, set the terminal title to the current working directory.
0 comments:
Post a Comment