diff man/viper.texi @ 80:1ce6082ce73f r20-0b90

Import from CVS: tag r20-0b90
author cvs
date Mon, 13 Aug 2007 09:06:37 +0200
parents c7528f8e288d
children 6a378aca36af
line wrap: on
line diff
--- a/man/viper.texi	Mon Aug 13 09:05:44 2007 +0200
+++ b/man/viper.texi	Mon Aug 13 09:06:37 2007 +0200
@@ -1666,9 +1666,10 @@
 @item vip-search-wrap-around t
 @itemx :se ws (:se wrapscan)
 If not @code{nil}, search wraps around the end/beginning of buffer.
-@item vip-adjust-window-after-search t
-If not @code{nil}, window will be pulled up or down, as appropriate, if
-search lands near the first (or last) line of the window.
+@item vip-search-scroll-threshold 2
+In search lands within this many lines of the window top or bottom, the
+window will be scrolled up or down by about 1/7-th of its size, to reveal
+the context. If the value is negative---don't scroll.
 @item vip-tags-file-name "TAGS"
 The name of the file used as the tag table.
 @item vip-re-query-replace nil
@@ -1878,7 +1879,7 @@
 @vindex @code{vip-shift-width}
 @vindex @code{buffer-read-only}
 @vindex @code{vip-search-wrap-around}
-@vindex @code{vip-adjust-window-after-search}
+@vindex @code{vip-search-scroll-threshold}
 @vindex @code{vip-search-face}
 @vindex @code{vip-tags-file-name}
 @vindex @code{vip-re-query-replace}