Better title string for Vim
A better title string with all required info. I write this because I can't find one with my requirements. Specially with small directory info when you are deep in directories of project.
| directory info (max 12 char) | buff. no | filename | modified | Type | Row no.
set title titlestring=...%{strpart(expand(\"%:p:h\"),stridx(expand(\"%:p:h\"),\"/\",strlen(expand(\"%:p:h\"))-12))}%=%n.\ \ %{expand(\"%:t:r\")}\ %m\ %Y\ \ \ \ %l\ of\ %L
Written by Natwar Singh
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Related Tags
#vim
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#