From fd3a43edb614b208f2fb5dad4b1f7594e6e0be5e Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Sat, 1 Mar 2014 23:28:55 +0100 Subject: [PATCH] Added notice about required escaping for prev/nextpattern. --- doc/vimb.1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/vimb.1 b/doc/vimb.1 index 589a53b..da93df3 100644 --- a/doc/vimb.1 +++ b/doc/vimb.1 @@ -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 -- 2.20.1