aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/quickref.txt1
-rw-r--r--runtime/doc/starting.txt9
-rw-r--r--runtime/doc/term.txt3
3 files changed, 1 insertions, 12 deletions
diff --git a/runtime/doc/quickref.txt b/runtime/doc/quickref.txt
index df6a2dffd4..92492f72e1 100644
--- a/runtime/doc/quickref.txt
+++ b/runtime/doc/quickref.txt
@@ -1134,7 +1134,6 @@ Context-sensitive completion on the command-line:
|-s| -s {scriptin} first read commands from the file {scriptin}
|-w| -w {scriptout} write typed chars to file {scriptout} (append)
|-W| -W {scriptout} write typed chars to file {scriptout} (overwrite)
-|-T| -T {terminal} set terminal name
|-u| -u {vimrc} read inits from {vimrc} instead of other inits
|-U| -U {gvimrc} idem, for when starting the GUI
|-i| -i {viminfo} read info from {viminfo} instead of other files
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index dad4c9b78c..3475a63307 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -309,13 +309,6 @@ argument.
'tabpagemax' pages (default 10). If there are more tab pages
than arguments, the last few tab pages will be editing an
empty file. Also see |tabpage|.
-
- *-T*
--T {terminal} Set the terminal type to "terminal". This influences the
- codes that Vim will send to your terminal. This is normally
- not needed, because Vim will be able to find out what type
- of terminal you are using. (See |terminal-info|.)
-
*-d*
-d Start in |diff-mode|.
@@ -772,7 +765,7 @@ To change it later, use a ":let" command like this: >
In case you need the value of $VIMRUNTIME in a shell (e.g., for a script that
greps in the help files) you might be able to use this: >
- VIMRUNTIME=`vim -e -T dumb --cmd 'exe "set t_cm=\<C-M>"|echo $VIMRUNTIME|quit' | tr -d '\015' `
+ VIMRUNTIME="$(nvim -e --cmd 'echo $VIMRUNTIME|quit' 2>&1)"
==============================================================================
5. Suspending *suspend*
diff --git a/runtime/doc/term.txt b/runtime/doc/term.txt
index 5c818f07fe..da3e1ac11e 100644
--- a/runtime/doc/term.txt
+++ b/runtime/doc/term.txt
@@ -27,9 +27,6 @@ NOTE: Most of this is not used when running the |GUI|.
When Vim is started a default terminal type is assumed. for MS-DOS this is
the pc terminal, for Unix an ansi terminal.
-You can give the terminal name with the '-T' Vim argument. If it is not given
-Vim will try to get the name from the TERM environment variable.
-
*termcap* *terminfo* *E557* *E558* *E559*
On Unix the terminfo database or termcap file is used. This is referred to as
"termcap" in all the documentation. At compile time, when running configure,