> >  - Sometimes, the following error msg popup when open file thru lookupfile
> >    (after that file is opened successfully). The problem can't be reproduced
> >    everytime (and can't find out how to reproduce it, I haven't seem
> > this problem
> >    when using the previous version plugin)
> >
> >       Error detected while processing function
> > <SNR>55_OpenCurFile..<SNR>15_LookupReset:
> >       line    10:
> >       E31: No such mapping
> >       E31: No such mapping
>
> I can't reproduce this. David Fishburn reported the same error as
> something that gets generated while using the <C-B>, so I tried it with
> several variations with no success. I put in some trace which will give
> more information, so hopefully I can figure out something the next time
> it happens to you.
>

This time error message is
    Error detected while processing function
<SNR>64_OpenCurFile..<SNR>33_LookupReset:
    line        13:
    0
    Error detected while processing function <SNR>64_OpenCurFile:
    line        11:
    E171: Missing :endif


I find way to reproduce it
- create lookupfile.vim in ftplugin, which contains the following content
        nnoremap <buffer> <Esc><Esc> <C-W>q
        inoremap <buffer> <Esc><Esc> <Esc><C-W>q

- open lookupfile, open one file, open lookupfile, Esc Esc, open
lookupfile, open one file

Regards
Eddy

Reply via email to