vim bundle config

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

vim .vimrc   write below code   into vimrc

set nocompatible             
filetype off                  
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-fugitive'

Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
Plugin 'ascenator/L9', {'name': 'newL9'}


Bundle 'majutsushi/tagbar'
"nmap 
    
    
     
     tb :TagbarToggle
     
     
      
              "快捷键设置
let g:tagbar_ctags_bin='/usr/bin/ctags'            "ctags程序的路径
let g:tagbar_width=30                    "窗口宽度的设置
map 
      
      
       
        :Tagbar
       
       
        
        
"autocmd BufReadPost *.cpp,*.c,*.h,*.hpp,*.cc,*.cxx call tagbar#autoopen()     "如果是c语言的程序的话,tagbar自动开启



Bundle 'bling/vim-airline'
set laststatus=2

Plugin 'scrooloose/nerdcommenter'
Plugin 'scrooloose/nerdtree'
Plugin 'fholgado/minibufexpl.vim'
Plugin 'wesleyche/SrcExpl'
Plugin 'bufexplorer.zip'


Bundle 'vim-scripts/winmanager'
let g:NERDTree_title="[NERDTree]"
let g:winManagerWindowLayout="NERDTree|BufExplorer"
function! NERDTree_Start()
    exec 'NERDTree'
endfunction
function! NERDTree_IsValid()
    return 1
endfunction
nmap wm :WMToggle
        
        
          Bundle 'scrooloose/syntastic' Bundle 'Valloric/YouCompleteMe' let g:ycm_global_ycm_extra_conf = '~/.ycm_extra_conf.py' Bundle 'Valloric/ListToggle' Plugin 'Shougo/neocomplete.vim' Bundle 'kien/ctrlp.vim' if executable('ag') " Use Ag over Grep set grepprg=ag\ --nogroup\ --nocolor " Use ag in CtrlP for listing files. let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""' " Ag is fast enough that CtrlP doesn't need to cache let g:ctrlp_use_caching = 0 endif call vundle#end() filetype plugin indent on 
        
       
       
      
      
     
     
    
    

if it is not ok  please notice below
especially youcompleteme plugin you should  install it alone    //support c-family language  like c  c++ python php 
below is process:
sudo apt-get install build-essential cmake
sudo apt-get install python-dev python3-dev


cd ~/.vim/bundle/YouCompleteMe
./install.py --clang-complete

then launch  vim  and   :PluginInstall  

winmanager change window shortcut   key is ctrl +w






  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值