工具控 分享一下我的 vim 配置

flowerwrong · 2014年12月01日 · 5 次阅读

FlowerWrong's Vim config

I use vundle to manage my plugins. Test on ubuntu 14.04

github

https://github.com/FlowerWrong/fw-vim

Thx https://github.com/humiaozuzu/dot-vimrc

screenshorts

Vim Completions Tagbar

Plugin list

https://github.com/FlowerWrong/mblog/blob/master/categories/vim/vim_plugins.md

Enabled

" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'

" Keep Plugin commands between vundle#begin/end.

" nerdtree
Plugin 'scrooloose/nerdtree'

" colorscheme
Plugin 'tomasr/molokai'
" Plugin 'altercation/vim-colors-solarized'

" syntastic
" Plugin 'scrooloose/syntastic'

" neocomplcache
Plugin 'Shougo/neocomplcache'

" supertab
Plugin 'ervandew/supertab'

" tagbar
Plugin 'majutsushi/tagbar'

" ctrlp
Plugin 'kien/ctrlp.vim'

" markdown, js, ruby and rails
" Plugin 'tpope/vim-markdown'
" Plugin 'pangloss/vim-javascript'
" Plugin 'vim-ruby/vim-ruby'
" Plugin 'tpope/vim-rails'

" rainbow_parentheses 括号匹配高亮
" vim-trailing-whitespace 去除多余空格
" vim-indent-guides 可视化缩进
" vim-powerline 美化状态栏
" vim-easymotion 快速移动
" python-syntax py语法高亮

I only enabled some basic plugins, if you want to enable what's you like, just remove the " or add them with Plugin 'github_rpo'.

" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'

" nerdtree
Plugin 'scrooloose/nerdtree'

" colorscheme
Plugin 'tomasr/molokai'

" neocomplcache
Plugin 'Shougo/neocomplcache'

" supertab
Plugin 'ervandew/supertab'

" tagbar
Plugin 'majutsushi/tagbar'

" ctrlp
Plugin 'kien/ctrlp.vim'

Installation

  1. Backup your old vim configuration files: mv ~/.vim ~/.vim.backup mv ~/.vimrc ~/.vimrc.backup
  2. Clone and install this repo: git clone git@github.com:FlowerWrong/fw-vim.git ~/.vim ln -s ~/.vim/vimrc ~/.vimrc
  3. Setup Vundle: git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
  4. Install plugins. Launch vim(ignore the errors) and then run: :PluginList :PluginInstall Enjoy!
暂无回复。
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册