From 001209a2fe25612f2fe076d2db3d3073f0a6e008 Mon Sep 17 00:00:00 2001 From: David Bürgin <676c7473@gmail.com> Date: Fri, 1 May 2015 14:27:37 +0200 Subject: 'cpoptions': Remove "*" flag #2554 The "*" flag in 'cpoptions' makes the command :* execute the contents of a register. Removed because 1. the same functionality exists as :@ 2. it hides :* as a useful command-line shortcut for :'<,'> 3. unlike :@ it cannot be used with the * register Helped-by: Michael Reed --- runtime/doc/repeat.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'runtime/doc/repeat.txt') diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt index 847830af9b..0412e9fb10 100644 --- a/runtime/doc/repeat.txt +++ b/runtime/doc/repeat.txt @@ -128,14 +128,12 @@ q Stops recording. *@@* *E748* @@ Repeat the previous @{0-9a-z":*} [count] times. -:[addr]*{0-9a-z".=+} *:@* *:star* + *:@* :[addr]@{0-9a-z".=*+} Execute the contents of register {0-9a-z".=*+} as an Ex command. First set cursor at line [addr] (default is current line). When the last line in the register does not have a it will be added automatically when the 'e' flag is present in 'cpoptions'. - Note that the ":*" command is only recognized when the - '*' flag is present in 'cpoptions'. For ":@=" the last used expression is used. The result of evaluating the expression is executed as an Ex command. -- cgit