Added notice about required escaping for prev/nextpattern.
authorDaniel Carl <danielcarl@gmx.de>
Sat, 1 Mar 2014 22:28:55 +0000 (23:28 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Sat, 1 Mar 2014 22:29:41 +0000 (23:29 +0100)
doc/vimb.1

index 589a53b..da93df3 100644 (file)
@@ -744,7 +744,10 @@ Font used for inputbox.
 .B nextpattern (string)
 Patterns to use when guessing the next page in a document. Each pattern is
 successively tested against each link in the page beginning from the last
-link. Default "/\\bnext\\b/i,/^(>|>>|»)$/,/^(>|>>|»)/,/(>|>>|»)$/,/\\bmore\\b/i"
+link. Default
+"/\\bnext\\b/i,/^(>|>>|»)$/,/^(>|>>|»)/,/(>|>>|»)$/,/\\bmore\\b/i". Note that
+you have to escape the '|' as '\\|' else the '|' will terminate the :set
+command and start a new command.
 .TP
 .B previouspattern (string)
 Patterns to use when guessing the previous page in a document. Each pattern is