One thing... I looked through some of the downloads that came with this,
and I see that it has a 'perl.vim' file that looks like it should have
the mappings (however, I am only incompletely guessing at the meaning of
the syntax).  An excerpt looks like:
------------
nmap    <buffer>  <silent>  <Leader>ad    :call
Perl_DoWhile("a")<CR><Esc>f(la
nmap    <buffer>  <silent>  <Leader>af    :call Perl_StatBlock( "a",
"for ( ; ; ) {\n}","" )<CR>f;i
nmap    <buffer>  <silent>  <Leader>ao    :call Perl_StatBlock( "a",
"foreach  (  ) {\n}", "" )<CR>f(hi
nmap    <buffer>  <silent>  <Leader>ai    :call Perl_StatBlock( "a", "if
(  ) {\n}", "" )<CR>f(la
nmap    <buffer>  <silent>  <Leader>ae    :call Perl_StatBlock( "a", "if
(  ) {\n}\nelse {\n}", "" )<CR>f(la
nmap    <buffer>  <silent>  <Leader>au    :call Perl_StatBlock( "a",
"unless (  ) {\n}", "" )<CR>f(la
nmap    <buffer>  <silent>  <Leader>an    :call Perl_StatBlock( "a",
"unless (  ) {\n}\nelse {\n}", "" )<CR>f(la
nmap    <buffer>  <silent>  <Leader>at    :call Perl_StatBlock( "a",
"until (  ) {\n}", "" )<CR>f(la
nmap    <buffer>  <silent>  <Leader>aw    :call Perl_StatBlock( "a",
"while (  ) {\n}", "" )<CR>f(la
nmap    <buffer>  <silent>  <Leader>a{    :call Perl_Block("a")<CR>o

vmap    <buffer>  <silent>  <Leader>ad    <Esc><Esc>:call
Perl_DoWhile("v")<CR><Esc>f(la
vmap    <buffer>  <silent>  <Leader>af    <Esc><Esc>:call
Perl_StatBlock( "v", "for ( ; ; ) {", "}" )<CR>f;i
vmap    <buffer>  <silent>  <Leader>ao    <Esc><Esc>:call
Perl_StatBlock( "v", "foreach  (  ) {", "}" )<CR>f(hi
vmap    <buffer>  <silent>  <Leader>ai    <Esc><Esc>:call
Perl_StatBlock( "v", "if (  ) {", "}" )<CR>f(la
vmap    <buffer>  <silent>  <Leader>ae    <Esc><Esc>:call
Perl_StatBlock( "v", "if (  ) {", "}\nelse {\n}" )<CR>f(la
vmap    <buffer>  <silent>  <Leader>au    <Esc><Esc>:call
Perl_StatBlock( "v", "unless (  ) {", "}" )<CR>f(la
vmap    <buffer>  <silent>  <Leader>an    <Esc><Esc>:call
Perl_StatBlock( "v", "unless (  ) {", "}\nelse {\n}" )<CR>f(la
vmap    <buffer>  <silent>  <Leader>at    <Esc><Esc>:call
Perl_StatBlock( "v", "until (  ) {", "}" )<CR>f(la
vmap    <buffer>  <silent>  <Leader>aw    <Esc><Esc>:call
Perl_StatBlock( "v", "while (  ) {", "}" )<CR>f(la
vmap    <buffer>  <silent>  <Leader>a{    <Esc><Esc>:call
Perl_Block("v")<CR>
------------ 

Now, I would assume that these mappings would be applied either on app
startup or by issuing the '\lps' sequence in normal mode.  Neither seems
to be the case.  One question I have is: I think that there is a $HOME
variable used by vim, but it may not have a value under windows, and
therefore the paths to these necessary files aren't resolved.  Is this a
possibility?  Is there a way to check this?

Thanks,
Matt

-----Original Message-----
From: A.J.Mechelynck [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 19, 2006 10:00 AM
To: Pettis, Matthew (TLR Corp)
Cc: [EMAIL PROTECTED]; [email protected]
Subject: Re: Newbie notation question: hotkeys

[EMAIL PROTECTED] wrote:
> The first two have 'no mapping found' as their response, and the last 
> command has:
> 
> n  \ups          :call Perl_Handle()<CR>
> n  \lps          :call Perl_Handle()<CR> 
> 
> 
> 
> -----Original Message-----
> From: Yakov Lerner [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 19, 2006 9:22 AM
> To: Pettis, Matthew (TLR Corp)
> Cc: [email protected]
> Subject: Re: Newbie notation question: hotkeys
> 
> On 6/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> The backslash key does work in insert mode... It is right above my 
>> 'ENTER' key on my keyboard.  In insert mode, it behaves like any 
>> other
> 
>> ascii character typed from the keyboard.
> 
> Try the following commands:
>           :map \cu
>           :map \c
>           :map \
> and send us output of each of these three commands.
> 
> Yakov
> 
> 
> 

As mentioned under
http://lug.fh-swf.de/vim/vim-doc/perlsupport.html#perlsupport-usage-vim
, you need to use \lps in order to define the mappings starting \c . 
Conversely, \ups undefines them.


Best regards,
Tony.

Reply via email to