Vundle 설치 방법
- 우선 아래 주소를 clone하여 vundel을 설치해준다.
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
- 설치 후 .vimrc를 만들어 주어야 한다.
vi ~/.vimrc
- 만들어진 .vimrc에 아래 문장을 입력
set nocompatible " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'
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
- call vundle#begin()과 call vundle#end() 사이에 설치할 플러그인을 작성해주면 된다.
- 주석처리되어 있는 Brief help로 vundle사용법을 확인 할 수 있다.
- set을 사용하여 default값으로 세팅을 할 수도 있다.
My ~/.vimrc
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'nanotech/jellybeans.vim'
Plugin 'altercation/vim-colors-solarized'
Plugin 'jnurmine/Zenburn'
Plugin 'tpope/vim-fugitive'
call vundle#end()
set ruler
set nu
set expandtab
set tabstop=2
syntax on
- 기본 플러그인 매니저
- Plugin 'gmarik/Vundle.vim'
- 컬러 스키마
- Plugin 'nanotech/jellybeans.vim'
- Plugin 'altercation/vim-colors-solarized'
- Plugin 'jnurmine/Zenburn'
- Vim에서 git 명령어 사용 할 수 있게 만들어줌
- Plugin 'tpope/vim-fugitive'
728x90
반응형
'Study > 팁' 카테고리의 다른 글
OSI 7계층 TCP/IP 4계층 (0) | 2023.04.24 |
---|---|
비즈니스 로직?? 도메인 로직?? 서비스 로직?? (0) | 2023.04.18 |
마우스 따라다니는 텍스트 만들기 (0) | 2023.02.01 |
Java, Call by Value? Reference? (0) | 2022.12.06 |
절대경로 / 상대경로 / 경로설정방법 (0) | 2022.12.05 |
댓글