mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
Merge pull request #903 from ychin/gvimrc-guitablabel-defaults
Only override 'guitablabel' if user hasn't already set it
This commit is contained in:
@@ -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
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user