]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vim/vim/bundle/matchit/doc/matchit.txt
vim: matchit: sync with latest version in Debian sid
[config/dotfiles.git] / vim / vim / bundle / matchit / doc / matchit.txt
index 8a3a96e2602c30bf2bcd19e9974571c145de98c6..ea6fd1184e5469b572939e270d6f6feceeda1374 100644 (file)
@@ -4,7 +4,7 @@ For instructions on installing this file, type
        :help matchit-install
 inside Vim.
 
-For Vim version 6.3.  Last change:  2007 Aug 29
+For Vim version 6.3.  Last change:  2017 May 14
 
 
                  VIM REFERENCE MANUAL    by Benji Fisher
@@ -152,13 +152,10 @@ setting |b:match_skip|.
 ==============================================================================
 2. Activation                                          *matchit-activate*
 
-You can use this script as a plugin, by copying it to your plugin directory.
-See |add-global-plugin| for instructions.  You can also add a line to your
-|vimrc| file, such as >
-       :source $VIMRUNTIME/macros/matchit.vim
-or >
-       :runtime macros/matchit.vim
-Either way, the script should start working the next time you start up Vim.
+To use the matchit plugin add this line to your |vimrc|: >
+       packadd! matchit
+
+The script should start working the next time you start Vim.
 
 (Earlier versions of the script did nothing unless a |buffer-variable| named
 |b:match_words| was defined.  Even earlier versions contained autocommands
@@ -245,7 +242,7 @@ Examples:
        In LaTeX, since "%" is used as the comment character, you can >
                :let b:match_skip = 'r:%'
 <      Unfortunately, this will skip anything after "\%", an escaped "%".  To
-       allow for this, and also "\\%" (an excaped backslash followed by the
+       allow for this, and also "\\%" (an escaped backslash followed by the
        comment character) you can >
                :let b:match_skip = 'r:\(^\|[^\\]\)\(\\\\\)*%'
 <
@@ -395,7 +392,8 @@ a while.  Moral:  if a bug (known or not) bothers you, let me know.
 The various |:vmap|s defined in the script (%, |g%|, |[%|, |]%|, |a%|) may
 have undesired effects in Select mode |Select-mode-mapping|.  At least, if you
 want to replace the selection with any character in "ag%[]" there will be a
-pause of |'updatetime'| first.
+pause of |'updatetime'| first. E.g., "yV%" would normally work linewise, but
+the plugin mapping makes it characterwise.
 
 It would be nice if "\0" were recognized as the entire pattern.  That is, it
 would be nice if "foo:\end\0" had the same effect as "\(foo\):\end\1".  I may