aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-10-05 09:14:18 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-10-05 09:18:33 +0200
commit70e84a7c4c7bfad9b3a0ec18fd219f51205c03f8 (patch)
tree6b0a00509090826517ed3f1f956b8440ae7f23ee /runtime
parent5f4d2edeeea4d05761811d652dee8067fdbbae2a (diff)
downloadrneovim-70e84a7c4c7bfad9b3a0ec18fd219f51205c03f8.tar.gz
rneovim-70e84a7c4c7bfad9b3a0ec18fd219f51205c03f8.tar.bz2
rneovim-70e84a7c4c7bfad9b3a0ec18fd219f51205c03f8.zip
'titleold': simplify behavior
- default 'titleold' to empty - set title on exit if 'title' is enabled and 'titleold' is non-empty - update docs
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt13
1 files changed, 6 insertions, 7 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index c6965648ef..462fda4bfd 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -6267,11 +6267,11 @@ A jump table for the options with a short description can be found at |Q_op|.
when part of a command has been typed.
*'title'* *'notitle'*
-'title' boolean (default off, on when title can be restored)
+'title' boolean (default off)
global
When on, the title of the window will be set to the value of
'titlestring' (if it is not empty), or to:
- filename [+=-] (path) - VIM
+ filename [+=-] (path) - NVIM
Where:
filename the name of the file being edited
- indicates the file cannot be modified, 'ma' off
@@ -6279,7 +6279,7 @@ A jump table for the options with a short description can be found at |Q_op|.
= indicates the file is read-only
=+ indicates the file is read-only and modified
(path) is the path of the file being edited
- - VIM the server name |v:servername| or "VIM"
+ - NVIM the server name |v:servername| or "NVIM"
*'titlelen'*
'titlelen' number (default 85)
@@ -6295,11 +6295,10 @@ A jump table for the options with a short description can be found at |Q_op|.
'titlelen' is also used for the 'titlestring' option.
*'titleold'*
-'titleold' string (default "Thanks for flying Vim")
+'titleold' string (default "")
global
- This option will be used for the window title when exiting Vim if the
- original title cannot be restored. Only happens if 'title' is on or
- 'titlestring' is not empty.
+ If not empty, this option will be used to set the window title when
+ exiting. Only if 'title' is enabled.
This option cannot be set from a |modeline| or in the |sandbox|, for
security reasons.
*'titlestring'*