Merge pull request #903 from ychin/gvimrc-guitablabel-defaults

Only override 'guitablabel' if user hasn't already set it
This commit is contained in:
Yee Cheng Chin
2019-06-10 23:18:43 -07:00
committed by GitHub
2 changed files with 8 additions and 4 deletions
+5 -3
View File
@@ -105,9 +105,11 @@ dropping two more, and switching back to the first tab would cause weird
strings like "((3) of 2)" to appear in the window title.
*macvim-tablabel*
Tab labels only show the tail of the file name to make the tabs more readable
when editing files in deeply nested folders. Add the line "set guitablabel="
to your .gvimrc file to revert back to the default Vim tab label.
By default, tab labels only show the tail of the file name to make the tabs
more readable when editing files in deeply nested folders. Add the line "set
guitablabel=" to your .gvimrc file to revert back to the default Vim tab
label. Setting 'guitablabel' to anything in your .vimrc will also prevent
this default from taking effect.
*macvim-options*
These are the non-standard options that MacVim supports:
+3 -1
View File
@@ -28,7 +28,9 @@ endif
" To make tabs more readable, the label only contains the tail of the file
" name and the buffer modified flag.
set guitablabel=%M%t
if empty(&guitablabel)
set guitablabel=%M%t
endif
" Send print jobs to Preview.app. This does not delete the temporary ps file
" that is generated by :hardcopy.