From bb596b263df52efb6b6f617d22c70d4c54e3866b Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Sat, 30 Mar 2019 01:24:09 +0100 Subject: Fixed window title --- plugin/max-set-window-title.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/max-set-window-title.vim b/plugin/max-set-window-title.vim index 1a84ac3..1838f03 100644 --- a/plugin/max-set-window-title.vim +++ b/plugin/max-set-window-title.vim @@ -13,6 +13,7 @@ augroup SET_WINDOW_TITLE " autocmd BufEnter * let &titlestring = hostname() . "[vim(" . expand("%:t") . ")]" " autocmd CursorHold * let &titlestring = "%t %y ".$USER."@".hostname().":%{expand("%:~:.:h")}" + set titlestring=\ %F " Fix terminal title ================================================================================================= " autocmd VimEnter * let &t_EI .= "\[0 q" " autocmd VimEnter * let &t_SI = "\]12;green\x7" -- cgit v1.2.3