Loading ...
Sorry, an error occurred while loading the content.

Re: [patch] sets pydoc as keywordprg in python files

Expand Messages
  • Bram Moolenaar
    ... Looks useful. Did you send this to the maintainer? Finding pydoc is not quick. Vim has to look through $PATH, which means file system operations. It
    Message 1 of 3 , Sep 15, 2013
    • 0 Attachment
      Lorenzo Bercelli wrote:

      > This 3 lines patch sets, if present on the system, pydoc (
      > http://docs.python.org/2/library/pydoc.html ) as the keywordprg in
      > python source files, instead of the default 'man'.

      Looks useful. Did you send this to the maintainer?

      Finding pydoc is not quick. Vim has to look through $PATH, which means
      file system operations. It would be useful to cache the result, thus
      only do this the first time a Python file is opened.

      --
      hundred-and-one symptoms of being an internet addict:
      215. Your mouse-clicking forearm rivals Popeye's.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ an exciting new programming language -- http://www.Zimbu.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

      --
      --
      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php

      ---
      You received this message because you are subscribed to the Google Groups "vim_dev" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    Your message has been successfully submitted and would be delivered to recipients shortly.