From: Oleg Broytman Date: Sun, 14 Jun 2020 15:23:08 +0000 (+0300) Subject: .vimrc: Update `titlestring` from default X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=0addb50cbc67c7f01d0c34cd77eef7f135ff9c68;p=dotfiles.git .vimrc: Update `titlestring` from default --- diff --git a/.vimrc b/.vimrc index bb81714..fae0e9f 100644 --- a/.vimrc +++ b/.vimrc @@ -91,7 +91,7 @@ set titleold= " string to restore the title to when exiting Vim " set titlestring=%t%(\ %M%)%(\ (%{substitute(expand(\"%:p:h\"),\ $HOME,\ \"~\",\ \"\")})%)%(\ %a%)\ -\ %{toupper(v:progname)} " display filename, modification flag, full path, argument list status, " the current user, host and program name (to distinguish vim/view/etc). -set titlestring=%t%(\ %M%)%(\ (%{expand(\"%:p:h\")})%)%(\ %a%)\ -\ [%{$USER}@%{hostname()}]\ %{v:progname} +set titlestring=%t%(\ %M%)%(\ (%{substitute(expand(\"%:p:h\"),\ $HOME,\ \"~\",\ \"\")})%)%(\ %a%)\ -\ %{v:progname}\ [%{$USER}@%{hostname()}] " 9 using the mouse