mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 13:45:15 -07:00
Merge pull request #1491 from Pyrohh/os2-and-misc-cleanup
Remove MiNT, NeXTSTEP, OS/2 References
This commit is contained in:
commit
414199c54b
@ -1003,8 +1003,8 @@ The pattern is interpreted like mostly used in file names:
|
||||
[^ch] match any character but 'c' and 'h'
|
||||
|
||||
Note that for all systems the '/' character is used for path separator (even
|
||||
MS-DOS and OS/2). This was done because the backslash is difficult to use
|
||||
in a pattern and to make the autocommands portable across different systems.
|
||||
MS-DOS). This was done because the backslash is difficult to use in a pattern
|
||||
and to make the autocommands portable across different systems.
|
||||
|
||||
*autocmd-changes*
|
||||
Matching with the pattern is done when an event is triggered. Changing the
|
||||
|
@ -855,7 +855,7 @@ These modifiers can be given, in this order:
|
||||
separator is removed. Thus ":p:h" on a directory name results
|
||||
on the directory name itself (without trailing slash).
|
||||
When the file name is an absolute path (starts with "/" for
|
||||
Unix; "x:\" for MS-DOS, WIN32, OS/2; "drive:" for Amiga), that
|
||||
Unix; "x:\" for MS-DOS, WIN32; "drive:" for Amiga), that
|
||||
part is not removed. When there is no head (path is relative
|
||||
to current directory) the result is empty.
|
||||
:t Tail of the file name (last component of the name). Must
|
||||
@ -954,10 +954,10 @@ option contains "sh", this is done twice, to avoid the shell trying to expand
|
||||
the "!".
|
||||
|
||||
*filename-backslash*
|
||||
For filesystems that use a backslash as directory separator (MS-DOS, Windows,
|
||||
OS/2), it's a bit difficult to recognize a backslash that is used to escape
|
||||
the special meaning of the next character. The general rule is: If the
|
||||
backslash is followed by a normal file name character, it does not have a
|
||||
For filesystems that use a backslash as directory separator (MS-DOS and
|
||||
Windows), it's a bit difficult to recognize a backslash that is used
|
||||
to escape the special meaning of the next character. The general rule is: If
|
||||
the backslash is followed by a normal file name character, it does not have a
|
||||
special meaning. Therefore "\file\foo" is a valid file name, you don't have
|
||||
to type the backslash twice.
|
||||
|
||||
|
@ -502,7 +502,7 @@ The 'fileformat' option sets the <EOL> style for a file:
|
||||
"mac" <CR> Mac format *Mac-format*
|
||||
|
||||
When reading a file, the mentioned characters are interpreted as the <EOL>.
|
||||
In DOS format (default for MS-DOS, OS/2 and Win32), <CR><NL> and <NL> are both
|
||||
In DOS format (default for MS-DOS and Win32), <CR><NL> and <NL> are both
|
||||
interpreted as the <EOL>. Note that when writing the file in DOS format,
|
||||
<CR> characters will be added for each single <NL>. Also see |file-read|.
|
||||
|
||||
@ -1011,11 +1011,11 @@ lost the original file.
|
||||
|
||||
*DOS-format-write*
|
||||
If the 'fileformat' is "dos", <CR> <NL> is used for <EOL>. This is default
|
||||
for MS-DOS, Win32 and OS/2. On other systems the message "[dos format]" is
|
||||
shown to remind you that an unusual <EOL> was used.
|
||||
for MS-DOS and Win32. On other systems the message "[dos format]" is shown to
|
||||
remind you that an unusual <EOL> was used.
|
||||
*Unix-format-write*
|
||||
If the 'fileformat' is "unix", <NL> is used for <EOL>. On MS-DOS, Win32 and
|
||||
OS/2 the message "[unix format]" is shown.
|
||||
If the 'fileformat' is "unix", <NL> is used for <EOL>. On MS-DOS and Win32
|
||||
the message "[unix format]" is shown.
|
||||
*Mac-format-write*
|
||||
If the 'fileformat' is "mac", <CR> is used for <EOL>. On non-Mac systems the
|
||||
message "[mac format]" is shown.
|
||||
|
@ -6172,7 +6172,7 @@ system({expr} [, {input}]) *system()* *E677*
|
||||
The command executed is constructed using several options:
|
||||
'shell' 'shellcmdflag' 'shellxquote' {expr} 'shellredir' {tmp} 'shellxquote'
|
||||
({tmp} is an automatically generated file name).
|
||||
For Unix and OS/2 braces are put around {expr} to allow for
|
||||
For Unix braces are put around {expr} to allow for
|
||||
concatenated commands.
|
||||
|
||||
The command will be executed in "cooked" mode, so that a
|
||||
@ -6756,7 +6756,6 @@ multi_byte_ime Compiled with support for IME input method.
|
||||
multi_lang Compiled with support for multiple languages.
|
||||
mzscheme Compiled with MzScheme interface |mzscheme|.
|
||||
ole Compiled with OLE automation support for Win32.
|
||||
os2 OS/2 version of Vim.
|
||||
path_extra Compiled with up/downwards search in 'path' and 'tags'
|
||||
perl Compiled with Perl interface.
|
||||
persistent_undo Compiled with support for persistent undo history.
|
||||
|
@ -94,8 +94,6 @@ terminal version.
|
||||
|
||||
Recommended place for your personal GUI initializations:
|
||||
Unix $HOME/.gvimrc or $HOME/.vim/gvimrc
|
||||
OS/2 $HOME/.gvimrc, $HOME/vimfiles/gvimrc
|
||||
or $VIM/.gvimrc
|
||||
MS-DOS and Win32 $HOME/_gvimrc, $HOME/vimfiles/gvimrc
|
||||
or $VIM/_gvimrc
|
||||
Amiga s:.gvimrc, home:.gvimrc, home:vimfiles:gvimrc
|
||||
|
@ -1938,9 +1938,9 @@ If the 'fileformats' option is not empty Vim tries to recognize the type of
|
||||
changed, the detected format is only used while reading the file.
|
||||
A similar thing happens with 'fileencodings'.
|
||||
|
||||
On non-MS-DOS, Win32, and OS/2 systems the message "[dos format]" is shown if
|
||||
On non-MS-DOS and Win32 systems the message "[dos format]" is shown if
|
||||
a file is read in DOS format, to remind you that something unusual is done.
|
||||
On Macintosh, MS-DOS, Win32, and OS/2 the message "[unix format]" is shown if
|
||||
On Macintosh, MS-DOS, and Win32 the message "[unix format]" is shown if
|
||||
a file is read in Unix format.
|
||||
On non-Macintosh systems, the message "[Mac format]" is shown if a file is
|
||||
read in Mac format.
|
||||
|
@ -861,7 +861,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
putting a ":gui" command in the .gvimrc file, before where the value
|
||||
of 'background' is used (e.g., before ":syntax on").
|
||||
|
||||
For MS-DOS, Windows and OS/2 the default is "dark".
|
||||
For MS-DOS and Windows the default is "dark".
|
||||
For other systems "dark" is used when 'term' is "linux",
|
||||
"screen.linux", "cygwin" or "putty", or $COLORFGBG suggests a dark
|
||||
background. Otherwise the default is "light".
|
||||
@ -1689,7 +1689,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
'esckeys' + off no <Esc>-keys in Insert mode
|
||||
'expandtab' off tabs not expanded to spaces
|
||||
'fileformats' + "" no automatic file format detection,
|
||||
"dos,unix" except for DOS, Windows and OS/2
|
||||
"dos,unix" except for DOS and Windows
|
||||
'formatoptions' + "vt" Vi compatible formatting
|
||||
'gdefault' off no default 'g' flag for ":s"
|
||||
'history' + 0 no commandline history
|
||||
@ -2873,7 +2873,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
is read.
|
||||
|
||||
*'fileformat'* *'ff'*
|
||||
'fileformat' 'ff' string (MS-DOS, MS-Windows, OS/2 default: "dos",
|
||||
'fileformat' 'ff' string (MS-DOS and MS-Windows default: "dos",
|
||||
Unix default: "unix",
|
||||
Macintosh default: "mac")
|
||||
local to buffer
|
||||
@ -2896,7 +2896,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|
||||
*'fileformats'* *'ffs'*
|
||||
'fileformats' 'ffs' string (default:
|
||||
Vim+Vi MS-DOS, MS-Windows OS/2: "dos,unix",
|
||||
Vim+Vi MS-DOS and MS-Windows: "dos,unix",
|
||||
Vim Unix: "unix,dos",
|
||||
Vim Mac: "mac,unix,dos",
|
||||
Vi Cygwin: "unix,dos",
|
||||
@ -4292,7 +4292,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
NOTE: This option is reset when 'compatible' is set.
|
||||
|
||||
*'isfname'* *'isf'*
|
||||
'isfname' 'isf' string (default for MS-DOS, Win32 and OS/2:
|
||||
'isfname' 'isf' string (default for MS-DOS and Win32:
|
||||
"@,48-57,/,\,.,-,_,+,,,#,$,%,{,},[,],:,@-@,!,~,="
|
||||
for AMIGA: "@,48-57,/,.,-,_,+,,,$,:"
|
||||
for VMS: "@,48-57,/,.,-,_,+,,,#,$,%,<,>,[,],:,;,~"
|
||||
@ -4347,7 +4347,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
See |option-backslash| about including spaces and backslashes.
|
||||
|
||||
*'isident'* *'isi'*
|
||||
'isident' 'isi' string (default for MS-DOS, Win32 and OS/2:
|
||||
'isident' 'isi' string (default for MS-DOS and Win32:
|
||||
"@,48-57,_,128-167,224-235"
|
||||
otherwise: "@,48-57,_,192-255")
|
||||
global
|
||||
@ -4380,7 +4380,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
set and to the Vim default value when 'compatible' is reset.
|
||||
|
||||
*'isprint'* *'isp'*
|
||||
'isprint' 'isp' string (default for MS-DOS, Win32, OS/2 and Macintosh:
|
||||
'isprint' 'isp' string (default for MS-DOS, Win32, and Macintosh:
|
||||
"@,~-255"; otherwise: "@,161-255")
|
||||
global
|
||||
{not in Vi}
|
||||
@ -4466,7 +4466,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|
||||
*'keywordprg'* *'kp'*
|
||||
'keywordprg' 'kp' string (default "man" or "man -s", DOS: ":help",
|
||||
OS/2: "view /", VMS: "help")
|
||||
VMS: "help")
|
||||
global or local to buffer |global-local|
|
||||
{not in Vi}
|
||||
Program to use for the |K| command. Environment variables are
|
||||
@ -5232,7 +5232,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
'opendevice' 'odev' boolean (default off)
|
||||
global
|
||||
{not in Vi}
|
||||
{only for MS-DOS, MS-Windows and OS/2}
|
||||
{only for MS-DOS and MS-Windows}
|
||||
Enable reading and writing from devices. This may get Vim stuck on a
|
||||
device that can be opened but doesn't actually do the I/O. Therefore
|
||||
it is off by default.
|
||||
@ -5363,7 +5363,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|
||||
*'path'* *'pa'* *E343* *E345* *E347* *E854*
|
||||
'path' 'pa' string (default on Unix: ".,/usr/include,,"
|
||||
on OS/2: ".,/emx/include,,"
|
||||
other systems: ".,,")
|
||||
global or local to buffer |global-local|
|
||||
{not in Vi}
|
||||
@ -5740,11 +5739,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
$VIMRUNTIME,
|
||||
$VIM/vimfiles/after,
|
||||
home:vimfiles/after"
|
||||
PC, OS/2: "$HOME/vimfiles,
|
||||
$VIM/vimfiles,
|
||||
$VIMRUNTIME,
|
||||
$VIM/vimfiles/after,
|
||||
$HOME/vimfiles/after"
|
||||
Macintosh: "$VIM:vimfiles,
|
||||
$VIMRUNTIME,
|
||||
$VIM:vimfiles:after"
|
||||
@ -6001,7 +5995,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
*'shell'* *'sh'* *E91*
|
||||
'shell' 'sh' string (default $SHELL or "sh",
|
||||
MS-DOS and Win32: "command.com" or
|
||||
"cmd.exe", OS/2: "cmd")
|
||||
"cmd.exe")
|
||||
global
|
||||
Name of the shell to use for ! and :! commands. When changing the
|
||||
value also check these options: 'shellpipe', 'shellslash'
|
||||
@ -6039,8 +6033,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Flag passed to the shell to execute "!" and ":!" commands; e.g.,
|
||||
"bash.exe -c ls" or "command.com /c dir". For the MS-DOS-like
|
||||
systems, the default is set according to the value of 'shell', to
|
||||
reduce the need to set this option by the user. It's not used for
|
||||
OS/2 (EMX figures this out itself).
|
||||
reduce the need to set this option by the user.
|
||||
On Unix it can have more than one flag. Each white space separated
|
||||
part is passed as an argument to the shell command.
|
||||
See |option-backslash| about including spaces and backslashes.
|
||||
@ -6129,7 +6122,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
*'shellslash'* *'ssl'* *'noshellslash'* *'nossl'*
|
||||
'shellslash' 'ssl' boolean (default off)
|
||||
global
|
||||
{not in Vi} {only for MSDOS, MS-Windows and OS/2}
|
||||
{not in Vi} {only for MSDOS and MS-Windows}
|
||||
When set, a forward slash is used when expanding file names. This is
|
||||
useful when a Unix-like shell is used instead of command.com or
|
||||
cmd.exe. Backward slashes can still be typed, but they are changed to
|
||||
@ -7135,9 +7128,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
on Amiga: "amiga"
|
||||
on BeOS: "beos-ansi"
|
||||
on Mac: "mac-ansi"
|
||||
on MiNT: "vt52"
|
||||
on MS-DOS: "pcterm"
|
||||
on OS/2: "os2ansi"
|
||||
on Unix: "ansi"
|
||||
on VMS: "ansi"
|
||||
on Win 32: "win32")
|
||||
@ -7578,7 +7569,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|
||||
*'undolevels'* *'ul'*
|
||||
'undolevels' 'ul' number (default 100, 1000 for Unix, VMS,
|
||||
Win32 and OS/2)
|
||||
and Win32)
|
||||
global or local to buffer |global-local|
|
||||
{not in Vi}
|
||||
Maximum number of changes that can be undone. Since undo information
|
||||
@ -7680,7 +7671,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
displayed when 'verbosefile' is set.
|
||||
|
||||
*'viewdir'* *'vdir'*
|
||||
'viewdir' 'vdir' string (default for Amiga, MS-DOS, OS/2 and Win32:
|
||||
'viewdir' 'vdir' string (default for Amiga, MS-DOS, and Win32:
|
||||
"$VIM/vimfiles/view",
|
||||
for Unix: "~/.vim/view",
|
||||
for Macintosh: "$VIM:vimfiles:view"
|
||||
@ -7719,7 +7710,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|
||||
*'viminfo'* *'vi'* *E526* *E527* *E528*
|
||||
'viminfo' 'vi' string (Vi default: "", Vim default for MS-DOS,
|
||||
Windows and OS/2: '100,<50,s10,h,rA:,rB:,
|
||||
Windows: '100,<50,s10,h,rA:,rB:,
|
||||
for Amiga: '100,<50,s10,h,rdf0:,rdf1:,rdf2:
|
||||
for others: '100,<50,s10,h)
|
||||
global
|
||||
|
@ -93,7 +93,7 @@ If the option is empty, then vim will use the system default printer for
|
||||
|
||||
*penc-option* *E620*
|
||||
'printencoding' 'penc' String (default empty, except for:
|
||||
Windows, OS/2: cp1252,
|
||||
Windows: cp1252,
|
||||
Macintosh: mac-roman,
|
||||
VMS: dec-mcs,
|
||||
HPUX: hp-roman8,
|
||||
@ -124,7 +124,7 @@ cannot be converted will be replaced with upside down question marks.
|
||||
Four print character encoding files are provided to support default Mac, VMS,
|
||||
HPUX, and EBCDIC character encodings and are used by default on these
|
||||
platforms. Code page 1252 print character encoding is used by default on
|
||||
Windows and OS/2 platforms.
|
||||
the Windows platform.
|
||||
|
||||
*pexpr-option*
|
||||
'printexpr' 'pexpr' String (default: see below)
|
||||
@ -142,7 +142,7 @@ the file: >
|
||||
system('lpr' . (&printdevice == '' ? '' : ' -P' . &printdevice)
|
||||
. ' ' . v:fname_in) . delete(v:fname_in) + v:shell_error
|
||||
|
||||
On MS-Dos, MS-Windows and OS/2 machines the default is to copy the file to the
|
||||
On MS-Dos and MS-Windows machines the default is to copy the file to the
|
||||
currently specified printdevice: >
|
||||
|
||||
system('copy' . ' ' . v:fname_in . (&printdevice == ''
|
||||
@ -621,7 +621,7 @@ OpenVMS
|
||||
|
||||
http://wwwthep.physik.uni-mainz.de/~plass/gv/
|
||||
|
||||
Windows and OS/2
|
||||
Windows
|
||||
|
||||
- GSview. Obtainable from:
|
||||
|
||||
@ -636,7 +636,7 @@ DOS
|
||||
|
||||
Linux
|
||||
|
||||
- GSview. Linux version of the popular Windows and OS/2 previewer.
|
||||
- GSview. Linux version of the popular Windows previewer.
|
||||
Obtainable from:
|
||||
|
||||
http://www.cs.wisc.edu/~ghost/gsview/
|
||||
|
@ -938,8 +938,8 @@ normally happens by matching following characters and items. When nothing is
|
||||
following the rest of the line is matched. If "%f" is followed by a '%' or a
|
||||
backslash, it will look for a sequence of 'isfname' characters.
|
||||
|
||||
On MS-DOS, MS-Windows and OS/2 a leading "C:" will be included in "%f", even
|
||||
when using "%f:". This means that a file name which is a single alphabetical
|
||||
On MS-DOS and MS-Windows a leading "C:" will be included in "%f", even when
|
||||
using "%f:". This means that a file name which is a single alphabetical
|
||||
letter will not be detected.
|
||||
|
||||
The "%p" conversion is normally followed by a "^". It's used for compilers
|
||||
|
@ -299,7 +299,7 @@ with CTRL-V followed by the three digit decimal code. This does NOT work for
|
||||
the <t_xx> termcap codes, these can only be used in mappings.
|
||||
|
||||
*:source_crnl* *W15*
|
||||
MS-DOS, Win32 and OS/2: Files that are read with ":source" normally have
|
||||
MS-DOS and Win32: Files that are read with ":source" normally have
|
||||
<CR><NL> <EOL>s. These always work. If you are using a file with <NL> <EOL>s
|
||||
(for example, a file made on Unix), this will be recognized if 'fileformats'
|
||||
is not empty and the first line does not end in a <CR>. This fails if the
|
||||
|
@ -750,8 +750,6 @@ accordingly. Vim proceeds in this order:
|
||||
|
||||
Places for your personal initializations:
|
||||
Unix $HOME/.vimrc or $HOME/.vim/vimrc
|
||||
OS/2 $HOME/.vimrc, $HOME/vimfiles/vimrc
|
||||
or $VIM/.vimrc (or _vimrc)
|
||||
MS-Windows $HOME/_vimrc, $HOME/vimfiles/vimrc
|
||||
or $VIM/_vimrc
|
||||
Amiga s:.vimrc, home:.vimrc, home:vimfiles:vimrc
|
||||
@ -777,7 +775,7 @@ accordingly. Vim proceeds in this order:
|
||||
a. If vim was started as |evim| or |eview| or with the |-y| argument, the
|
||||
script $VIMRUNTIME/evim.vim will be loaded.
|
||||
*system-vimrc*
|
||||
b. For Unix, MS-DOS, MS-Windows, OS/2, VMS, Macintosh, RISC-OS and Amiga
|
||||
b. For Unix, MS-DOS, MS-Windows, VMS, Macintosh, RISC-OS and Amiga
|
||||
the system vimrc file is read for initializations. The path of this
|
||||
file is shown with the ":version" command. Mostly it's "$VIM/vimrc".
|
||||
Note that this file is ALWAYS read in 'compatible' mode, since the
|
||||
@ -793,16 +791,16 @@ accordingly. Vim proceeds in this order:
|
||||
- The environment variable VIMINIT (see also |compatible-default|) (*)
|
||||
The value of $VIMINIT is used as an Ex command line.
|
||||
- The user vimrc file(s):
|
||||
"$HOME/.vimrc" (for Unix and OS/2) (*)
|
||||
"$HOME/.vim/vimrc" (for Unix and OS/2) (*)
|
||||
"$HOME/.vimrc" (for Unix) (*)
|
||||
"$HOME/.vim/vimrc" (for Unix) (*)
|
||||
"s:.vimrc" (for Amiga) (*)
|
||||
"home:.vimrc" (for Amiga) (*)
|
||||
"home:vimfiles:vimrc" (for Amiga) (*)
|
||||
"$VIM/.vimrc" (for OS/2 and Amiga) (*)
|
||||
"$VIM/.vimrc" (for Amiga) (*)
|
||||
"$HOME/_vimrc" (for MS-DOS and Win32) (*)
|
||||
"$HOME/vimfiles/vimrc" (for MS-DOS and Win32) (*)
|
||||
"$VIM/_vimrc" (for MS-DOS and Win32) (*)
|
||||
Note: For Unix, OS/2 and Amiga, when ".vimrc" does not exist,
|
||||
Note: For Unix and Amiga, when ".vimrc" does not exist,
|
||||
"_vimrc" is also tried, in case an MS-DOS compatible file
|
||||
system is used. For MS-DOS and Win32 ".vimrc" is checked
|
||||
after "_vimrc", in case long file names are used.
|
||||
@ -818,11 +816,11 @@ accordingly. Vim proceeds in this order:
|
||||
d. If the 'exrc' option is on (which is not the default), the current
|
||||
directory is searched for three files. The first that exists is used,
|
||||
the others are ignored.
|
||||
- The file ".vimrc" (for Unix, Amiga and OS/2) (*)
|
||||
- The file ".vimrc" (for Unix and Amiga) (*)
|
||||
"_vimrc" (for MS-DOS and Win32) (*)
|
||||
- The file "_vimrc" (for Unix, Amiga and OS/2) (*)
|
||||
- The file "_vimrc" (for Unix and Amiga) (*)
|
||||
".vimrc" (for MS-DOS and Win32) (*)
|
||||
- The file ".exrc" (for Unix, Amiga and OS/2)
|
||||
- The file ".exrc" (for Unix and Amiga)
|
||||
"_exrc" (for MS-DOS and Win32)
|
||||
|
||||
(*) Using this file or environment variable will cause 'compatible' to be
|
||||
@ -889,7 +887,7 @@ Some hints on using initializations:
|
||||
Standard setup:
|
||||
Create a vimrc file to set the default settings and mappings for all your edit
|
||||
sessions. Put it in a place so that it will be found by 3b:
|
||||
~/.vimrc (Unix and OS/2)
|
||||
~/.vimrc (Unix)
|
||||
s:.vimrc (Amiga)
|
||||
$VIM\_vimrc (MS-DOS and Win32)
|
||||
Note that creating a vimrc file will cause the 'compatible' option to be off
|
||||
@ -923,7 +921,7 @@ manual. The environment variables set with the old Manx Set command (before
|
||||
version 5.0) are not recognized.
|
||||
|
||||
MS-DOS line separators:
|
||||
On MS-DOS-like systems (MS-DOS itself, Win32, and OS/2), Vim assumes that all
|
||||
On MS-DOS-like systems (MS-DOS itself and Win32), Vim assumes that all
|
||||
the vimrc files have <CR> <NL> pairs as line separators. This will give
|
||||
problems if you have a file with only <NL>s and have a line like
|
||||
":map xx yy^M". The trailing ^M will be ignored.
|
||||
@ -1042,7 +1040,7 @@ will try to get the value for $VIM in this order:
|
||||
problem). The file name ("help.txt" or any other) is removed. Then
|
||||
trailing directory names are removed, in this order: "doc", "runtime" and
|
||||
"vim{version}" (e.g., "vim54").
|
||||
3. For MSDOS, Win32 and OS/2 Vim tries to use the directory name of the
|
||||
3. For MSDOS and Win32 Vim tries to use the directory name of the
|
||||
executable. If it ends in "/src", this is removed. This is useful if you
|
||||
unpacked the .zip file in some directory, and adjusted the search path to
|
||||
find the vim executable. Trailing directory names are removed, in this
|
||||
@ -1428,11 +1426,10 @@ remembered.
|
||||
|
||||
VIMINFO FILE NAME *viminfo-file-name*
|
||||
|
||||
- The default name of the viminfo file is "$HOME/.viminfo" for Unix and OS/2,
|
||||
- The default name of the viminfo file is "$HOME/.viminfo" for Unix,
|
||||
"s:.viminfo" for Amiga, "$HOME\_viminfo" for MS-DOS and Win32. For the last
|
||||
two, when $HOME is not set, "$VIM\_viminfo" is used. When $VIM is also not
|
||||
set, "c:\_viminfo" is used. For OS/2 "$VIM/.viminfo" is used when $HOME is
|
||||
not set and $VIM is set.
|
||||
set, "c:\_viminfo" is used.
|
||||
- The 'n' flag in the 'viminfo' option can be used to specify another viminfo
|
||||
file name |'viminfo'|.
|
||||
- The "-i" Vim argument can be used to set another file name, |-i|. When the
|
||||
|
@ -2301,14 +2301,7 @@ GUI:
|
||||
currently. This is very obvious on a 66Mhz 486.
|
||||
|
||||
|
||||
MSDOS, OS/2 and Win32:
|
||||
8 OS/2: Add backtick expansion. Undefine NO_EXPANDPATH and use
|
||||
gen_expand_wildcards().
|
||||
8 OS/2: Add clipboard support? See example clipbrd.exe from Alexander
|
||||
Wagner.
|
||||
8 OS/2: Add Extended Attributes support and define HAVE_ACL.
|
||||
8 OS/2: When editing a file name "foo.txt" that is actually called FOO.txt,
|
||||
writing uses "foo.txt". Should obtain the real file name.
|
||||
MSDOS and Win32:
|
||||
8 Should $USERPROFILE be preferred above $HOMEDRIVE/$HOMEPATH? No, but it's
|
||||
a good fallback, thus use:
|
||||
$HOME
|
||||
|
@ -71,7 +71,7 @@ you are using:
|
||||
|
||||
Unix: >
|
||||
:!cp -i $VIMRUNTIME/vimrc_example.vim ~/.vimrc
|
||||
MS-DOS, MS-Windows, OS/2: >
|
||||
MS-DOS, MS-Windows: >
|
||||
:!copy $VIMRUNTIME/vimrc_example.vim $VIM/_vimrc
|
||||
Amiga: >
|
||||
:!copy $VIMRUNTIME/vimrc_example.vim $VIM/.vimrc
|
||||
|
@ -314,7 +314,6 @@ Then copy the file to your plugin directory:
|
||||
|
||||
system plugin directory ~
|
||||
Unix ~/.vim/plugin/
|
||||
PC and OS/2 $HOME/vimfiles/plugin or $VIM/vimfiles/plugin
|
||||
Amiga s:vimfiles/plugin
|
||||
Macintosh $VIM:vimfiles:plugin
|
||||
Mac OS X ~/.vim/plugin/
|
||||
|
@ -1495,7 +1495,7 @@ Here is a summary of items that apply to Vim scripts. They are also mentioned
|
||||
elsewhere, but form a nice checklist.
|
||||
|
||||
The end-of-line character depends on the system. For Unix a single <NL>
|
||||
character is used. For MS-DOS, Windows, OS/2 and the like, <CR><LF> is used.
|
||||
character is used. For MS-DOS, Windows and the like, <CR><LF> is used.
|
||||
This is important when using mappings that end in a <CR>. See |:source_crnl|.
|
||||
|
||||
|
||||
|
@ -136,8 +136,6 @@ Support for different systems.
|
||||
- MS-DOS in real-mode (no additional drivers required).
|
||||
- In protected mode on Windows 3.1 and MS-DOS (DPMI driver required).
|
||||
- Windows 95 and Windows NT, with support for long file names.
|
||||
- OS/2 (needs emx.dll)
|
||||
- Atari MiNT
|
||||
- VMS
|
||||
- BeOS
|
||||
- Macintosh
|
||||
|
@ -5,7 +5,7 @@
|
||||
" Last change: 2001 Sep 02
|
||||
"
|
||||
" To use it, copy it to
|
||||
" for Unix and OS/2: ~/.gvimrc
|
||||
" for Unix: ~/.gvimrc
|
||||
" for Amiga: s:.gvimrc
|
||||
" for MS-DOS and Win32: $VIM\_gvimrc
|
||||
" for OpenVMS: sys$login:.gvimrc
|
||||
|
@ -188,7 +188,7 @@ an 20.435 &Edit.Startup\ &Settings :call <SID>EditVimrc()<CR>
|
||||
fun! s:EditVimrc()
|
||||
if $MYVIMRC != ''
|
||||
let fname = $MYVIMRC
|
||||
elseif has("win32") || has("dos32") || has("dos16") || has("os2")
|
||||
elseif has("win32") || has("dos32") || has("dos16")
|
||||
if $HOME != ''
|
||||
let fname = $HOME . "/_vimrc"
|
||||
else
|
||||
|
@ -1107,14 +1107,14 @@ if has("quickfix")
|
||||
endif
|
||||
|
||||
|
||||
if has("msdos") || has("os2") || has("win16") || has("win32") || has("osfiletype")
|
||||
if has("msdos") || has("win16") || has("win32") || has("osfiletype")
|
||||
call <SID>Header("system specific")
|
||||
if has("osfiletype")
|
||||
call append("$", "osfiletype\tOS-specific information about the type of file")
|
||||
call append("$", "\t(local to buffer)")
|
||||
call <SID>OptionL("oft")
|
||||
endif
|
||||
if has("msdos") || has("os2") || has("win16") || has("win32")
|
||||
if has("msdos") || has("win16") || has("win32")
|
||||
call append("$", "shellslash\tuse forward slashes in file names; for Unix-like shells")
|
||||
call <SID>BinOptionG("ssl", &ssl)
|
||||
endif
|
||||
|
@ -34,4 +34,4 @@ xcmdsrv_client.c: Example for a client program that communicates with a Vim
|
||||
|
||||
unicode.vim Vim script to generate tables for src/mbyte.c.
|
||||
|
||||
[xxd (and tee for OS/2) can be found in the src directory]
|
||||
[xxd can be found in the src directory]
|
||||
|
@ -4,7 +4,7 @@
|
||||
" Last change: 2014 Feb 05
|
||||
"
|
||||
" To use it, copy it to
|
||||
" for Unix and OS/2: ~/.vimrc
|
||||
" for Unix: ~/.vimrc
|
||||
" for Amiga: s:.vimrc
|
||||
" for MS-DOS and Win32: $VIM\_vimrc
|
||||
" for OpenVMS: sys$login:.vimrc
|
||||
|
@ -1,6 +1,5 @@
|
||||
/*
|
||||
* VIM - Vi IMproved by Bram Moolenaar
|
||||
* OS/2 port by Paul Slootman
|
||||
* VMS merge by Zoltan Arpadffy
|
||||
*
|
||||
* Do ":help uganda" in Vim to read copying and usage conditions.
|
||||
@ -10,7 +9,7 @@
|
||||
|
||||
/*
|
||||
* os_unix.c -- code for all flavors of Unix (BSD, SYSV, SVR4, POSIX, ...)
|
||||
* Also for BeOS and Atari MiNT.
|
||||
* Also for BeOS
|
||||
*
|
||||
* A lot of this file was originally written by Juergen Weigert and later
|
||||
* changed beyond recognition.
|
||||
@ -524,9 +523,8 @@ void mch_settmode(int tmode)
|
||||
{
|
||||
static int first = TRUE;
|
||||
|
||||
/* Why is NeXT excluded here (and not in os_unixx.h)? */
|
||||
#if defined(ECHOE) && defined(ICANON) && (defined(HAVE_TERMIO_H) || \
|
||||
defined(HAVE_TERMIOS_H)) && !defined(__NeXT__)
|
||||
defined(HAVE_TERMIOS_H))
|
||||
/*
|
||||
* for "new" tty systems
|
||||
*/
|
||||
@ -554,9 +552,8 @@ void mch_settmode(int tmode)
|
||||
*/
|
||||
tnew.c_iflag &= ~ICRNL;
|
||||
tnew.c_lflag &= ~(ICANON | ECHO | ISIG | ECHOE
|
||||
# if defined(IEXTEN) && !defined(__MINT__)
|
||||
# if defined(IEXTEN)
|
||||
| IEXTEN /* IEXTEN enables typing ^V on SOLARIS */
|
||||
/* but it breaks function keys on MINT */
|
||||
# endif
|
||||
);
|
||||
# ifdef ONLCR /* don't map NL -> CR NL, we do it ourselves */
|
||||
@ -622,9 +619,8 @@ void get_stty(void)
|
||||
char_u buf[2];
|
||||
char_u *p;
|
||||
|
||||
/* Why is NeXT excluded here (and not in os_unixx.h)? */
|
||||
#if defined(ECHOE) && defined(ICANON) && (defined(HAVE_TERMIO_H) || \
|
||||
defined(HAVE_TERMIOS_H)) && !defined(__NeXT__)
|
||||
defined(HAVE_TERMIOS_H))
|
||||
/* for "new" tty systems */
|
||||
# ifdef HAVE_TERMIOS_H
|
||||
struct termios keys;
|
||||
|
@ -8,17 +8,13 @@
|
||||
* Do ":help credits" in Vim to see a list of people who contributed.
|
||||
*/
|
||||
|
||||
/*
|
||||
* NextStep has a problem with configure, undefine a few things:
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
|
||||
# include <sys/types.h>
|
||||
# include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
# include <stdlib.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
|
@ -639,7 +639,7 @@ static struct builtin_term builtin_termcaps[] =
|
||||
{K_BS, "\x7f"}, /* for some reason 0177 doesn't work */
|
||||
# endif
|
||||
|
||||
# if defined(ALL_BUILTIN_TCAPS) || defined(__MINT__)
|
||||
# if defined(ALL_BUILTIN_TCAPS)
|
||||
/*
|
||||
* Ordinary vt52
|
||||
*/
|
||||
@ -998,7 +998,7 @@ static struct builtin_term builtin_termcaps[] =
|
||||
|
||||
|
||||
|
||||
#if defined(UNIX) && !defined(__MINT__)
|
||||
#if defined(UNIX)
|
||||
# define DEFAULT_TERM (char_u *)"ansi"
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user