On Mon, May 04, 2009 at 05:51:00PM +1000, John Beckett wrote:
> 
> I think your problem is using \rs which used to do one thing,
> and now does another. This command may be enlightening:

The plugin only works when editing Perl files -- so I opened foo.pl
and made sure ":set filetype" returned "filetype=perl"

>   :verbose map \r

"No mapping found"

I ran vim with strace and I can see it reading the perl-support.vim file.
and vim -V also shows:

sourcing "/home/moseley/.vim/plugin/perl-support.vim"
finished sourcing /home/moseley/.vim/plugin/perl-support.vim

But, one things I don't see is it reading .vim/ftplugin/perl.vim file.


> The above will tell you if there is a normal-mode mapping for
> '\r' (and if so, where it was set).
> 
> Another approach is to type something like the following
> commands:
> 
>   :set nomore
>   :redir > m.txt
>   :map
>   :redir END
>   :e m.txt

No indication of the perl mappings (see below).

On my laptop with vim 7.1/Ubunut 8.10 the same thing shows all the mappings
for the perl plugin.

I copied my .vimrc from the laptop to the desktop (where the plugin isn't
working) also just to confirm it's not a local .vimrc issue.





   T8            :set sw=8 sts=8 ts=8<CR>:map TS :%!expand -8<CR>:map TT 
:%!unexpand -8<CR>
   T4            :set sw=4 sts=4 ts=4<CR>:map TS :%!expand -4<CR>:map TT 
:%!unexpand -4<CR>
   T3            :set sw=3 sts=3 ts=2<CR>:map TS :%!expand -3<CR>:map TT 
:%!unexpand -3<CR>
   T2            :set sw=2 sts=2 ts=2<CR>:map TS :%!expand -2<CR>:map TT 
:%!unexpand -2<CR>
   TT            :%!unexpand -4<CR>:set sts=0 noexpandtab<CR>
   TS            :%!expand -4<CR>:set sts=4 expandtab<CR>
n  \sv           <Plug>SVNVimDiff
n  \su           <Plug>SVNUpdate
n  \si           <Plug>SVNInfo
n  \ss           <Plug>SVNStatus
n  \sr           <Plug>SVNReview
n  \sq           <Plug>SVNRevert
n  \sl           <Plug>SVNLog
n  \sg           <Plug>SVNGotoOriginal
n  \sd           <Plug>SVNDiff
n  \sc           <Plug>SVNCommit
n  \sG           <Plug>SVNClearAndGotoOriginal
n  \sn           <Plug>SVNAnnotate
n  \sa           <Plug>SVNAdd
n  gx            <Plug>NetrwBrowseX
n  th            :call HighLightenment()<CR>
n  t<Down>       :call CleanReply("clean","cursatend")<CR>
n  t<Up>         :call CleanReply("clean","cursatbeg")<CR>
n  tc            :call CleanReply("clean")<CR>
n  tm            :call OEQuoteFix()<CR>
n  tr            :call FormatText()<CR>
n  tt            :call TakeOut()<CR>
n  <Plug>NetrwBrowseX * :call netrw#NetrwBrowseX(expand("<cWORD>"),0)<CR>
n  <Plug>SVNCommitDiff * :SVNCommitDiff<CR>
n  <Plug>SVNVimDiff * :SVNVimDiff<CR>
n  <Plug>SVNUpdate * :SVNUpdate<CR>
n  <Plug>SVNUnedit * :SVNUnedit<CR>
n  <Plug>SVNInfo * :SVNInfo<CR>
n  <Plug>SVNStatus * :SVNStatus<CR>
n  <Plug>SVNReview * :SVNReview<CR>
n  <Plug>SVNRevert * :SVNRevert<CR>
n  <Plug>SVNLog * :SVNLog<CR>
n  <Plug>SVNClearAndGotoOriginal * :SVNGotoOriginal!<CR>
n  <Plug>SVNGotoOriginal * :SVNGotoOriginal<CR>
n  <Plug>SVNDiff * :SVNDiff<CR>
n  <Plug>SVNCommit * :SVNCommit<CR>
n  <Plug>SVNAnnotate * :SVNAnnotate<CR>
n  <Plug>SVNAdd * :SVNAdd<CR>

-- 
Bill Moseley.
[email protected]
Sent from my iMutt

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to