summaryrefslogtreecommitdiff
path: root/_vimrc
diff options
context:
space:
mode:
authormstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2014-01-12 11:02:46 +0000
committermstsirkin <mstsirkin@0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652>2014-01-12 11:02:46 +0000
commit6d6fc82c558db0ef91ad2a101503d5158a79ffda (patch)
treecd1dfc5e15416b58546da706ef5d8f547d0b22ca /_vimrc
parent568383447cd3bd83d5ecfbd116ab6c0f769094cb (diff)
.exrc: rename to _vimrc
.exrc is not allowed in the OASIS Library, since "dot" files are special files in file system. They are specifically disallowed by the Naming Directives [1] : "Filenames and directory names must neither begin nor end with a punctuation character (period or hyphen). [...]" Rename to _vimrc which also works - from vim help: 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) (*) "_vimrc" (for MS-DOS and Win32) (*) - The file "_vimrc" (for Unix, Amiga and OS/2) (*) ".vimrc" (for MS-DOS and Win32) (*) - The file ".exrc" (for Unix, Amiga and OS/2) "_exrc" (for MS-DOS and Win32) Signed-off-by: Michael S. Tsirkin <mst@redhat.com> git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@180 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652
Diffstat (limited to '_vimrc')
-rw-r--r--_vimrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/_vimrc b/_vimrc
new file mode 100644
index 0000000..045b3c5
--- /dev/null
+++ b/_vimrc
@@ -0,0 +1,5 @@
+"VIM settings to for correct formatting. They are activated by adding the
+"following settings (without the " symbol) as last two lines in $HOME/.vimrc:
+"set secure
+"set exrc
+set textwidth=65