/**************************************************************************************
* Vim Vundle YouCompleteMe
* 说明:
* 之前在Vim中安装YCM出了问题,装不了,这次花点时间再折腾一下,可以了。
*
* 2016-8-14 深圳 南山平山村 曾剑锋
*************************************************************************************/
Vim+Vundle+YouCompleteMe 一. 参考文档:
. YouCompleteMe
https://github.com/Valloric/YouCompleteMe
. Vim+Vundle+YouCompleteMe
http://blog.csdn.net/vintage_1/article/details/21557277
. When I'm installing the YouCompleteMe plug-in for MacVim, it shows 'Please install Cmake and retry'. What should I do next?
https://www.quora.com/When-Im-installing-the-YouCompleteMe-plug-in-for-MacVim-it-shows-Please-install-Cmake-and-retry-What-should-I-do-next 二. vim插件安装:
. .vimrc添加Plugin 'Valloric/YouCompleteMe'
. vim中执行:PluginInstall
. 等待安装完成
. aplex@aplex:~/.vim/bundle/YouCompleteMe$ ./install.py --clang-completer
. aplex@aplex:~/.vim/bundle/YouCompleteMe$ cp ./third_party/ycmd/cpp/ycm/.ycm_extra_conf.py ~ 三. YCM .vimrc配置:
""""""""""""""""""""""""""""""
" ycm setting
""""""""""""""""""""""""""""""
let g:ycm_global_ycm_extra_conf='~/.ycm_extra_conf.py'
let g:ycm_collect_identifiers_from_tag_files =
let g:ycm_seed_identifiers_with_syntax =
let g:ycm_confirm_extra_conf=
let g:ycm_key_invoke_completion = '<C-/>'
nnoremap <F5> :YcmForceCompileAndDiagnostics<CR>

最新文章

  1. Linux软件安装
  2. SQLite学习笔记(七)&amp;&amp;事务处理
  3. 【原创】【2015最新】微信公众平台开发手把手入门之一:缘起微信公众号(PHP,MYSQL, BAE)
  4. iOS [[NSBundle mainBundle] pathForResource:@&quot;&quot; ofType:@&quot;&quot;]无法获取到文件
  5. [android] 手机卫士自定义对话框布局
  6. Qt中使用随机数
  7. Linux下去掉^M的方法
  8. MySQL查看数据库、表的占用空间大小
  9. android Service简介及启动关闭方式
  10. Android跟蓝牙耳机建立连接有两种方式
  11. Sonar——代码质量管理平台
  12. CSS(四)float 定位
  13. 函数func_get_args详解
  14. FreeMarker example all in one
  15. bzoj千题计划236:bzoj2300: [HAOI2011]防线修建
  16. struts系列:校验(一)XML校验和函数方法校验
  17. UIScrollView判断用户划到底部 (可用于实现loading more)
  18. 一次频繁Full GC问题排查过程分享
  19. Hadoop之MapReduce学习笔记(二)
  20. C++11 实现生产者消费者双缓冲

热门文章

  1. spring boot 添加mybatis,以及相关配置
  2. Linux下使用Shell命令控制任务Jobs执行(转)
  3. 深入GCD(二): 多核心的性能
  4. 深入理解iPhone数据持久化(手把手教你iphone开发 – 基础篇)
  5. golang几种post请求方式
  6. [React] Persist Form Data in React and Formik with formik-persist
  7. UltraEdit UE常见问题 使用必读
  8. selenium python (九)对话框处理
  9. hdu 1710 Binary Tree Traversals 前序遍历和中序推后序
  10. mmall 项目实战(一)项目初始化