I recently got to know that useful info can be shown in title of bash terminal when editing files using vim. Adding below displays file name, path of the file being edited.
set title
But on exiting vim, the title is set to 'Thanks for flying vim'. I have different title set for each bash terminal and would like it to be restored once I close the vim?
Any way to change this behaviour of vim?
:echo has('X11')
? – lcd047 Jun 23 '16 at 16:55Thanks for flying vim
, it can't be reset again. This is said to be for security reasons. Refer:help title
. – SibiCoder Jun 23 '16 at 18:340
. – mtk Jun 23 '16 at 19:45