fs111/pydoc.vim — Issue #6: <leader>p...  map doesn't work on the current buffer
Author: jimenezrick
Created: 2011-10-23 20:23:11+00:00
State: open

The next lines which enables the mapping `p...` do not work if the first file is a Python file, because those autocmd are activated in the next buffer created with a Python file:

au FileType python,man map pw :call ShowPyDoc('', 1)
au FileType python,man map pW :call ShowPyDoc('', 1)
au FileType python,man map pk :call ShowPyDoc('', 0)
au FileType python,man map pK :call ShowPyDoc('', 0)

And, could be better to use `noremap` than `map`, safer?

I am going to fork this project and try to fix it if you want ;-)

By the way, I like the plugin!