On Do, 29 Mai 2014, Dmitry Frank wrote:
> Could anyone explain why does Vim still have vi-compatibility mode? Why
> would one use it?
>
> As a consequence, we have to keep set nocompatible in our .vimrc; there is
No:
,----[ :h 'cp' ]-
| When a |vimrc| or |gvimrc| file is found while Vim is starting up,
| this option is switched off, and all options that have not been
| modified will be set to the Vim defaults. Effectively, this means
| that when a |vimrc| or |gvimrc| file exists, Vim will use the Vim
| defaults, otherwise it will use the Vi defaults. (Note: This doesn't
| happen for the system-wide vimrc or gvimrc file, nor for a file given
| with the |-u| argument). Also see |compatible-default| and
| |posix-compliance|.
`----
Mit freundlichen Grüßen
Christian
--
Das Leben ist eine Treppe: Wir wissen nie, ob es mit uns aufwärts oder
abwärts geht.
-- Ernst R. Hauschka
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.