Merge pull request #3740 from Pyrohh/vi_diff2

[RFC] doc: More vi_diff.txt cleanup
This commit is contained in:
Michael Reed
2015-11-25 14:47:14 -05:00
2 changed files with 2 additions and 43 deletions

View File

@@ -28,28 +28,6 @@ Note that quite a few items are contradicting. This is intentional. A
balance must be found between them.
VIM IS... VI COMPATIBLE *design-compatible*
First of all, it should be possible to use Vim as a drop-in replacement for
Vi. When the user wants to, he can use Vim in compatible mode and hardly
notice any difference with the original Vi.
Exceptions:
- We don't reproduce obvious Vi bugs in Vim.
- There are different versions of Vi. I am using Version 3.7 (6/7/85) as a
reference. But support for other versions is also included when possible.
The Vi part of POSIX is not considered a definitive source.
- Vim adds new commands, you cannot rely on some command to fail because it
didn't exist in Vi.
- Vim will have a lot of features that Vi doesn't have. Going back from Vim
to Vi will be a problem, this cannot be avoided.
- Some things are hardly ever used (open mode, sending an e-mail when
crashing, etc.). Those will only be included when someone has a good reason
why it should be included and it's not too much work.
- For some items it is debatable whether Vi compatibility should be
maintained. There will be an option flag for these.
VIM IS... IMPROVED *design-improved*
The IMproved bits of Vim should make it a better Vi, without becoming a

View File

@@ -6,19 +6,14 @@
Differences between Vim and Vi *vi-differences*
Throughout the help files differences between Vim and Vi/Ex are given in
curly braces, like "{not in Vi}". This file only lists what has not been
mentioned in other files and gives an overview.
1. Limits |limits|
2. The most interesting additions |vim-additions|
==============================================================================
1. Limits *limits*
Vim has only a few limits for the files that can be edited {Vi: can not handle
<Nul> characters and characters above 128, has limited line length, many other
limits}.
Vim has only a few limits for the files that can be edited.
*E340*
Maximum line length 2147483647 characters
Maximum number of lines 2147483647 lines
@@ -60,20 +55,6 @@ argument when starting Vim.
==============================================================================
2. The most interesting additions *vim-additions*
Vi compatibility. |'compatible'|
Although Vim is 99% Vi compatible, some things in Vi can be
considered to be a bug, or at least need improvement. But still, Vim
starts in a mode which behaves like the "real" Vi as much as possible.
To make Vim behave a little bit better, try resetting the 'compatible'
option:
:set nocompatible
Or start Vim with the "-N" argument:
vim -N
Vim starts with 'nocompatible' automatically if you have a .vimrc
file. See |startup|.
The 'cpoptions' option can be used to set Vi compatibility on/off for
a number of specific items.
Support for different systems.
Vim can be used on:
- All Unix systems (it works on all systems it was tested on, although