summaryrefslogtreecommitdiff
path: root/man/viper.texi
diff options
context:
space:
mode:
authorMichael Kifer <kifer@cs.stonybrook.edu>2001-10-13 21:38:19 +0000
committerMichael Kifer <kifer@cs.stonybrook.edu>2001-10-13 21:38:19 +0000
commit2d341681c8d30b58e3235cb7fe2042218426479d (patch)
treef4819a5dce2ccb1bd0a3bff9ba3c0751d768fadc /man/viper.texi
parente641b454cdae5c13177b86ac861143c2891ec88e (diff)
downloademacs-2d341681c8d30b58e3235cb7fe2042218426479d.tar.gz
2001-10-13 Michael Kifer <kifer@cs.sunysb.edu>
* viper-ex.el (ex-edit): make checks for modified buffer/file. (viper-get-ex-address-subr): more precise addr for the $ marker * viper-cmd.el: Fixed indentation. * viper.texi: Clarified that viper won't expand special symbols in search patterns.
Diffstat (limited to 'man/viper.texi')
-rw-r--r--man/viper.texi14
1 files changed, 12 insertions, 2 deletions
diff --git a/man/viper.texi b/man/viper.texi
index 2504bb2b539..a390b585077 100644
--- a/man/viper.texi
+++ b/man/viper.texi
@@ -3210,8 +3210,9 @@ syntax tables in order to not thwart the various major modes that set these
tables.
The usual Emacs convention is used to indicate Control Characters, i.e
-C-h for Control-h. @emph{Do not confuse this to mean the separate
-characters C - h!!!} The @kbd{^} is itself, never used to indicate a
+C-h for Control-h. @emph{Do not confuse this with a sequence of separate
+characters
+C, -, h!!!} The @kbd{^} is itself, never used to indicate a
Control character.
Finally, we note that Viper's Ex-style commands can be made to work on the
@@ -3680,6 +3681,10 @@ In Emacs, @samp{\&} stands for the last matched expression, so
@kbd{s/[ab]+/\&\&/} will double the string matched by @kbd{[ab]}.
Viper doesn't treat @samp{&} specially, unlike Vi: use @samp{\&} instead.
+Viper does not parse search patterns and does not expand special symbols
+found there (e.g., @samp{~} is not expanded to the result of the previous
+substitution).
+
Note: @emph{The newline character (inserted as @kbd{C-qC-j})
can be used in <repl>}.
@item :[x,y]copy [z]
@@ -3745,6 +3750,11 @@ wrapping around.
@table @kbd
@item <count> /<string>
To the <count>th occurrence of <string>.
+
+Viper does not parse search patterns and does not expand special symbols
+found there (e.g., @samp{~} is not expanded to the result of the previous
+substitution).
+
@item <count> ?<string>
To the <count>th previous occurrence of <string>.
@item <count> g<move>