From 0addb50cbc67c7f01d0c34cd77eef7f135ff9c68 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 14 Jun 2020 18:23:08 +0300 Subject: [PATCH] .vimrc: Update `titlestring` from default --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2