Hello,
Why does the following _single_ line map
generate the E10 error?:
nmap space :let @a=substitute(getline('.'),'\(^.*|\s*\)\|\(\s\s*$\)','','g')
How would it be fixed?
Thanks,
--Suresh
On Thu, 27 Apr 2006, Suresh Govindachar wrote:
Hello,
Why does the following _single_ line map
generate the E10 error?:
nmap space :let @a=substitute(getline('.'),'\(^.*|\s*\)\|\(\s\s*$\)','','g')
How would it be fixed?
What do you intend to do with the mapping?
First, replace all |
Gerald Lai sent on Thu, 27 Apr 2006 17:44:05 -0700 (PDT):
On Thu, 27 Apr 2006, Suresh Govindachar wrote:
Hello,
Why does the following _single_ line map
generate the E10 error?:
nmap space :let
@a=substitute(getline('.'),'\(^.*|\s*\)\|\(\s\s*$\)','','g')
Note
On 2006-04-28, Suresh Govindachar [EMAIL PROTECTED] wrote:
Gerald Lai sent on Thu, 27 Apr 2006 17:44:05 -0700 (PDT):
On Thu, 27 Apr 2006, Suresh Govindachar wrote:
Hello,
Why does the following _single_ line map
generate the E10 error?:
nmap space :let