summaryrefslogtreecommitdiffstats
path: root/contrib/nvi/docs/internals/context
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/nvi/docs/internals/context')
-rw-r--r--contrib/nvi/docs/internals/context32
1 files changed, 32 insertions, 0 deletions
diff --git a/contrib/nvi/docs/internals/context b/contrib/nvi/docs/internals/context
new file mode 100644
index 0000000..8b1db32
--- /dev/null
+++ b/contrib/nvi/docs/internals/context
@@ -0,0 +1,32 @@
+# @(#)context 8.6 (Berkeley) 10/14/94
+
+In historic vi, the previous context mark was always set:
+
+ex address:
+ any number, <question-mark>, <slash>, <dollar-sign>,
+ <single-quote>, <backslash>
+
+ex commands: undo, "z.", global, v
+
+vi commands: (, ), {, }, %, [[, ]], ^]
+
+nvi adds the vi command ^T to this list.
+
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
+In historic vi, the previous context mark was set if the
+line changed:
+
+vi commands: '<mark>, G, H, L, M, z
+
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
+In historic vi, the previous context mark was set if the
+line or column changed:
+
+vi commands: `<mark>, /, ?, N, n
+
+nvi adds the vi command ^A to this list.
+
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
+In historic vi, the previous context mark was set in non-visual
+mode for ^R and ^L if the line changed, but I have yet to figure
+out how the line could change.
OpenPOWER on IntegriCloud