是否需要自动提示、补全等功能,怎么去添加这些功能。我自己eclipse写java比较多,谢谢!
"显示行数,设置软回车和缩进还有语法set numberset expandtabset tabstop=8set shiftwidth=4set softtabstop=4set autoindent:syntax on"补全设置,不设也能用let Tlist_Ctags_Cmd='/usr/bin/ctags'filetype plugin indent onfiletype plugin onset ofu=syntaxcomplete#Complete"这个是我喜欢的,一旦一行的字符超出80个的话就把那些字符的背景设为红色highlight OverLength ctermbg=red ctermfg=white guibg=#592929 match OverLength /\%81v.\+/
VCS(版本控制,支持git,svn,hg等等)
Tabular(非常方便的排版工具)
<code class="vim"><span class="k">set</span> <span class="nb">foldmethod</span><span class="p">=</span>indent <span class="k">set</span> <span class="nb">foldlevel</span><span class="p">=</span><span class="m">99</span> <span class="c"> </span> <span class="c">" press space to fold/unfold code</span> <span class="nb">nnoremap</span> <span class="p"><</span>space<span class="p">></span> za <span class="nb">vnoremap</span> <span class="p"><</span>space<span class="p">></span> zf </code>
直接空白Vim使用 John Anderson 的配置就行了
Turning Vim into a modern Python IDE
鏈接:http://sontek.net/turning-vim-into-a-modern-python-ide
附上我的Vim截圖一張:
推荐spf13-vim,把你的vim升级到vim7.4,如果是mac可以直接使用macvim。然后spf13中的youcompleteme插件将会起作用,代码提示,变量函数跳转不要太方便!
私下认为PyCharm+IdeaVIM插件写Python才是最舒服的
python怎么学习?python怎么入门?python在哪学?python怎么学才快?不用担心,这里为大家提供了python速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号