python - 如何在 vim 中获取 Python 帮助?就像vim一样使用:h

标签 python vim manual

如何在 vim 中获取 python 帮助?就像 vim 一样输入 :h 为拿到它,为实现它。 我只是 Python 的新手,但我需要 Python 的手册页,就像 vim 一样简单。

最佳答案

如果您在 vim 中编写 Python 代码,python-mode 插件可能会很有用:https://github.com/klen/python-mode#show-documentation

例如,如果您将光标移动到某个 python 函数/模块等上,并在正常模式下按 K,其文档将显示在新的缓冲区中。

关于python - 如何在 vim 中获取 Python 帮助?就像vim一样使用:h,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17636838/

相关文章:

python - 将自定义测试套件运行器与 pytest-django 一起使用

python 脚本不等待文件中的输入

Python 获取 Base64 编码的字节字符串作为字节串

Vim:如何将我刚刚输入的文本变成大写?

c++ - stdio.h 头文件的详细引用

c - memset 手册说明 : int type or constant byte?

python - 如何在 Python 中打印不包含 '\n' 的字符串

vim - 如何在 Vim 中映射多个键

vim - 为什么在 Vim 中使用 CTRL-A 递增会使我从 "07"到 "10"?

web-services - 在 Alfresco 4.0.d 中生成缩略图