推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
inevermore
V2EX  ›  Python

vim 的 Python-mode 插件,如何设置使得在代码补全时不显示详细信息呢?

  •  
  •   inevermore · Jan 22, 2015 · 4982 views
    This topic created in 4156 days ago, the information mentioned may be changed or developed.
    总是弹出窗口,很烦人,如果去掉呢? 打算以后写Python都用vim了。
    7 replies    2015-01-23 15:23:02 +08:00
    crazyxin1988
        1
    crazyxin1988  
       Jan 22, 2015   ❤️ 1
    set completeopt-=preview
    let g:ycm_add_preview_to_completeopt = 0
    自动也一起提示关闭了
    用YouCompleteMe 更强大一些
    esyed
        2
    esyed  
       Jan 23, 2015
    为何要用vim?
    vinceguo
        3
    vinceguo  
       Jan 23, 2015
    游标处弹窗还好吧,是上面那个preview窗口持续存在有点蛋疼吧
    下面是我前几天谷歌到的:
    utocmd CursorMovedI * if pumvisible() == 0|pclose|endif
    autocmd InsertLeave * if pumvisible() == 0|pclose|endif
    inevermore
        4
    inevermore  
    OP
       Jan 23, 2015
    @esyed 快啊,可以自己配置很多代码补全规则啊。
    nayihz
        5
    nayihz  
       Jan 23, 2015
    楼主不觉得pymode的补全提示特别慢吗?
    inevermore
        6
    inevermore  
    OP
       Jan 23, 2015
    @latteczy 请给推荐个,其实我就想找个自动提示的,像sublime那样就可以了,不强求智能补全。。
    nayihz
        7
    nayihz  
       Jan 23, 2015
    @inevermore github上有个k-vim,中国人写的,功能很全面,你可以试试
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5379 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 07:33 · PVG 15:33 · LAX 00:33 · JFK 03:33
    ♥ Do have faith in what you're doing.