summaryrefslogtreecommitdiffstats
path: root/contrib/nvi/docs/internals/context
blob: 8b1db32768b70f4ff810373eea79955c8bcfea8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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