diff options
Diffstat (limited to 'usr.bin/vi/docs/internals/context')
-rw-r--r-- | usr.bin/vi/docs/internals/context | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/usr.bin/vi/docs/internals/context b/usr.bin/vi/docs/internals/context new file mode 100644 index 00000000000..139a1c3fdb4 --- /dev/null +++ b/usr.bin/vi/docs/internals/context @@ -0,0 +1,32 @@ +# @(#)context 8.5 (Berkeley) 7/23/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, vglobal + +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. |