summaryrefslogtreecommitdiff
path: root/editors/nvi/patches/patch-an
diff options
context:
space:
mode:
Diffstat (limited to 'editors/nvi/patches/patch-an')
-rw-r--r--editors/nvi/patches/patch-an49
1 files changed, 49 insertions, 0 deletions
diff --git a/editors/nvi/patches/patch-an b/editors/nvi/patches/patch-an
new file mode 100644
index 00000000000..d325441868a
--- /dev/null
+++ b/editors/nvi/patches/patch-an
@@ -0,0 +1,49 @@
+$NetBSD: patch-an,v 1.1 2009/08/07 16:39:21 lukem Exp $
+
+--- ../docs/vi.ref/set.opt.texi.orig 2007-11-19 03:41:42.000000000 +1100
++++ ../docs/vi.ref/set.opt.texi
+@@ -97,7 +97,10 @@ the first nonblank character of the line
+ Lines are indented using tab characters to the extent possible (based on
+ the value of the
+ @OP{tabstop}
+-option) and then using space characters as necessary.
++option,
++and if
++@OP{expandtab}
++is not set) and then using space characters as necessary.
+ For commands inserting text into the middle of a line, any blank characters
+ to the right of the cursor are discarded, and the first nonblank character
+ to the right of the cursor is aligned as described above.
+@@ -407,6 +410,16 @@ only.
+ error messages are normally presented in inverse video.
+ If that is not possible for the terminal, setting this option causes
+ error messages to be announced by ringing the terminal bell.
++@cindex expandtab
++@IP{expandtab, et [off]}
++
++Prevent the use of
++@LI{<tab>}
++characters in leading whitespace when shifting text, autoindenting,
++indenting with
++@CO{<control-T>},
++or outdenting with
++@CO{<control-D>}.
+ @cindex exrc
+ @IP{exrc, ex [off]}
+
+@@ -593,6 +606,15 @@ character.
+ See the section entitled
+ @QB{Regular Expressions and Replacement Strings}
+ for more information.
++@cindex matchchars
++@IP{matchchars [[]{}()<>]}
++
++@CO{Vi}
++only.
++This option defines the character pairs used by the
++@CO{%}
++command.
++
+ @cindex matchtime
+ @IP{matchtime [7]}
+