일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- gpgpu-sim
- tabedit
- CSAPP
- gpgpu sim
- Producer consumer
- nvidia
- Linux
- Unified Memory
- Multithreading
- CUDA
- unix
- OS
- ubuntu
- vi 여러 창
- Process
- parallel programming
- multiprocessor
- peer-to-peer access
- cdua
- vim
- 소비자 생산자
- .cu
- GPU
- 운영체제
- GPGPU
- vi
- thread
- ostep
- C
- Virtual Address
Archives
- Today
- Total
하루의 대학원 도전기
[VIM] Vundle을 이용한 vim 플러그인 설치 본문
728x90
Vim에 여러 가지 플러그인을 설치하기 위해선 플러그인 관리자 Vundle을 사용해야 합니다. Vundle을 설치하는 방법은 다음과 같습니다.
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vundle 플러그인을 clone 해줍니다.
그 다음 ~/.vimrc 파일을 열어 다음을 추가해줍니다.
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
call vundle#end()
filetype plugin indent 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
이후
:PluginInstall 을 통해 플러그인을 설치해줍시다.
Vundle 설치가 완료된 뒤, 더 추가하고 싶은 플러그인이 있다면 call vundle#begin() 과 call vundle#end() 사이에 더 추가해주고 :PluginInstall 해주면 됩니다.
git clone https://github.com/vim-scripts/AutoComplPop.git
cd AutoComplPop
mv autoload doc plugin ~/.vim
vim 사용시 자동완성 기능을 제공해주는 AutoComplPop 또한 추가해주도록 하겠습니다.
제 .vimrc 파일입니다.
set ruler
set mouse=a
set ts=4
set shiftwidth=4
set cindent
set smartindent
set autoindent
syntax on
syntax enable
set hlsearch
set incsearch
set nu
" when delete key is not working
set backspace=indent,eol,start
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'Raimondi/delimitMate'
call vundle#end()
filetype plugin indent on
let delimitMate_expand_cr=1
저는 괄호를 자동으로 완성해주는 플러그인 delimitMate와 파일 탐색할 때 유용한 nerdTree 플러그인을 사용합니다. 유명한 플러그인으로는 Youcompleteme 등등이 있으니 필요에 따라 더 검색해보시면 좋을 것 같습니다
감사합니다.
728x90
'프로그래밍 > Vim' 카테고리의 다른 글
[Vim] 여러 줄 주석 처리, 해제 하는 법 (0) | 2021.12.24 |
---|---|
[Vim] 유용한 명령어 (0) | 2021.12.24 |
[Vim] .vimrc 설정 (0) | 2021.12.04 |
[Vim] Undo (0) | 2021.12.02 |
[Vim] 자동완성 관련 명령어, 플러그인 소개 (0) | 2021.11.27 |