vim 插件

2014-01-03 18:34:01 +08:00
 guoker
新手学c语言,大家都用过什么插件 用来补全代码,高亮语法?
4539 次点击
所在节点    程序员
10 条回复
chuan
2014-01-03 19:56:06 +08:00
高亮语法不用插件,C的关键字补全貌似也不用插件,C++可以用OmniCppComplete
c.vim提供了一些类似IDE功能,不过感觉不好用。
还有一个YouCompleteMe补全插件,当时安装没成功,没用过不作评价
arbipher
2014-01-03 20:01:39 +08:00
square开源的vim插件合集
https://github.com/square/maximum-awesome
chuan
2014-01-03 20:06:26 +08:00
语法检查scrooloose/syntastic
Ricepig
2014-01-03 21:46:46 +08:00
代码补全没一个好用的。。。

智能提示几个都勉强凑合,都还得cscope或者ctags

一个winmanager一个minibuffer,设置好缩进和高亮,就可以开始用了。
detailyang
2014-01-03 22:40:28 +08:00
YouCompleteMe相当牛逼
wuyexiong
2014-01-03 23:49:18 +08:00
wuyexiong
2014-01-03 23:50:04 +08:00
https://github.com/humiaozuzu/dot-vimrc

不好意思啊 上面那条,以为评论也可以直接md
zhouzm
2014-01-04 09:03:29 +08:00
" 状态栏
" https://github.com/bling/vim-airline
Bundle 'bling/vim-airline'

" 支持 emmet 语法
" https://github.com/mattn/emmet-vim/
Bundle 'mattn/emmet-vim'

" 智能补全
" https://github.com/Shougo/neocomplcache.vim
Bundle 'Shougo/neocomplcache.vim'

" 代码块快速完成
" https://github.com/Shougo/neosnippet.vim
Bundle 'Shougo/neosnippet.vim'

" 快速注释
" https://github.com/tomtom/tcomment_vim
Bundle 'tomtom/tcomment_vim'

" 目录树
" https://github.com/kien/ctrlp.vim
Bundle 'kien/ctrlp.vim'

" 显示缩进对齐线
" https://github.com/Yggdroot/indentLine
Bundle 'Yggdroot/indentLine'

" tags 管理
" https://github.com/majutsushi/tagbar
Bundle 'majutsushi/tagbar'

" 配色方案
" https://github.com/altercation/vim-colors-solarized
Bundle 'altercation/vim-colors-solarized'

具体如何配置,请自行参考原始站点文档。
wklken
2014-01-04 09:44:59 +08:00
推荐YouCompleteMe +1,其他自动补全大部分是“猜”的,YCM不是

https://github.com/wklken/k-vim
pydog
2014-09-10 23:00:39 +08:00
@detailyang
@wklken
YouCompleteMe 安装了,用来开发linux c 和 linux kernel 很麻烦。有没有作C开发的,能不能分享下配置文件。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/95549

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX