From eec48ff71881d8757b79dcd95aac9dac4d71bf72 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Sun, 12 May 2024 21:01:00 +0200 Subject: tidied this repo up and uploaded my new nvim from scratch config --- plugin/max-set-window-title.vim | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 plugin/max-set-window-title.vim (limited to 'plugin/max-set-window-title.vim') diff --git a/plugin/max-set-window-title.vim b/plugin/max-set-window-title.vim deleted file mode 100644 index 1838f03..0000000 --- a/plugin/max-set-window-title.vim +++ /dev/null @@ -1,22 +0,0 @@ - - -augroup SET_WINDOW_TITLE - set title - set titlelen=40 - - " set window title for screen(3) - " if &term == "screen" || &term == "xterm" - if &term == "screen" - set t_ts=k - set t_fs=\ - endif - - " 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" - autocmd VimLeave * silent !echo -ne "\033]112\007" -augroup END - -- cgit v1.2.3