summaryrefslogtreecommitdiffstats
path: root/runtime/evim.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-07-28 22:24:15 +0200
committerBram Moolenaar <Bram@vim.org>2016-07-28 22:24:15 +0200
commit8c08b5b569e2a9e9f63dea514591ecfa2d3bb392 (patch)
tree4303829cd42d4910ee0d0dfc35687c7b313c5e14 /runtime/evim.vim
parenteac784eced501c54d2c99e18a1af96cd996f3a6c (diff)
patch 7.4.2111v7.4.2111
Problem: Defaults are very conservative. Solution: Move settings from vimrc_example.vim to defaults.vim. Load defaults.vim if no .vimrc was found.
Diffstat (limited to 'runtime/evim.vim')
-rw-r--r--runtime/evim.vim10
1 files changed, 9 insertions, 1 deletions
diff --git a/runtime/evim.vim b/runtime/evim.vim
index 650ce428d6..f80b3c03b6 100644
--- a/runtime/evim.vim
+++ b/runtime/evim.vim
@@ -1,6 +1,6 @@
" Vim script for Evim key bindings
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2006 Mar 29
+" Last Change: 2016 Jul 24
" Don't use Vi-compatible mode.
set nocompatible
@@ -63,4 +63,12 @@ if has("autocmd")
endif " has("autocmd")
+" Add optional packages.
+"
+" The matchit plugin makes the % command work better, but it is not backwards
+" compatible.
+if has('syntax') && has('eval')
+ packadd matchit
+endif
+
" vim: set sw=2 :