Vundle 설치
Linux
vundle 플러그인을 clone 합니다.
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
플러그인 설정을 ~/.vimrc 의 최상단에 추가합니다.
Click here to expand...
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" The following are examples of different formats supported.
" Keep Plugin commands between vundle#begin/end.
" plugin on GitHub repo
Plugin 'tpope/vim-fugitive'
" plugin from http://vim-scripts.org/vim/scripts.html
" Plugin 'L9'
" Git plugin not hosted on GitHub
Plugin 'git://git.wincent.com/command-t.git'
" git repos on your local machine (i.e. when working on your own plugin)
"Plugin 'file:///home/gmarik/path/to/plugin'
" The sparkup vim script is in a subdirectory of this repo called vim.
" Pass the path to set the runtimepath properly.
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
" Install L9 and avoid a Naming conflict if you've already installed a
" different version somewhere else.
" Plugin 'ascenator/L9', {'name': 'newL9'}
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList - lists configured plugins
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line
Window
vim 이 설치된 경로로 이동후 cmd.exe 실행. 해당 폴더에는 vimfiles 폴더가 있어야 함
Vundle clone
cd %USERPROFILE%
git clone https://github.com/VundleVim/Vundle.vim.git %USERPROFILE%/.vim/bundle/Vundle.vim
gvim .vimrc
_vimrc 에 플러그인 설정 추가(Linux 2번 항목 참고)
Plugin
http://vimawesome.com/ 에서 전체 플러그인 검색 가능
- .vimrc 에 플러그인 추가
설치
syntax checking hack
Plugin 'scrooloose/syntastic'
Plugin 'altercation/vim-colors-solarized'
syntax enable
set background=dark
colorscheme solarized
Plugin 'bling/vim-airline'
Linux 에서 split 하지 않는 이상 상태바가 표시되지 않을 경우 다음 내용을 .vimrc 에 추가 - https://github.com/vim-airline/vim-airline/wiki/FAQ
Ref