Child pages
  • vundle 플러그인 관리자 설치 및 유용한 플러그인

Vundle 설치

vim 의 plugin manager 인 vundle 설치 방법 정리. 사전에 git과 curl 이 설치되어 있어야 합니다.


  1. clone

    git clone ~/.vim/bundle/Vundle.vim
  2. 플러그인 설정 ~/.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
    " Plugin 'L9'
    " Git plugin not hosted on GitHub
    Plugin '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


  1. vim 이 설치된 경로로 이동후 cmd.exe 실행. 해당 폴더에는 vimfiles 폴더가 있어야 함

  2. Vundle clone

    git clone %USERPROFILE%/.vim/bundle/Vundle.vim
    gvim .vimrc
  3. _vimrc 에 플러그인 설정 추가(Linux 2번 항목 참고)

Plugin 에서 전체 플러그인 검색 가능

  1. .vimrc 에 플러그인 추가
  2. 설치

    :source %


syntax checking hack

Plugin 'scrooloose/syntastic'


Plugin 'posva/vim-vue'


Plugin 'altercation/vim-colors-solarized'

syntax enable
set background=dark
colorscheme solarized

vim airline

Plugin 'bling/vim-airline'

Linux 에서 split 하지 않는 이상 상태바가 표시되지 않을 경우 다음 내용을 .vimrc 에 추가 -

set laststatus=2